Re: [PHP-WEBMASTER] svn: /web/php/trunk/ include/header.inc js/common.js js/jquery.autocomplete.js js/jquery.autocomplete.pack.js styles/structure.css styles/theme.css

[email protected] (Ferenc Kovacs)
Newsgroups php.webmaster
Message-ID <[email protected]>
>
>
> Hey Stewart,
>
> The documentation dropdown looks really nice, but it's currently
> broken in 2 parts.
> First one is that you have to click twice on it, which i'm looking to fix.
> Secondly, if you click the dropdown button about 5 times really
> quickly the page completely screws up.
> My prediction is that because you're using appendTo() every time you
> click the button, this is a big DOM change, and the DOM gets confused
> and backs out of what it's doing.
> So i'm going to change the implementation so that there are 0 DOM
> movement changes needed and just a show/hide of content, this will
> allow for a snappier response and less DOM work.
>
> Ping me an email back if you have started doing changes on the
> Documentation dropdown since your last commit.
>
>
dont forget, that there is a toggle method for jquery also.
http://api.jquery.com/toggle/

<http://api.jquery.com/toggle/>Tyrael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.