Re: 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
| From: | Ferenc Kovacs | Date: | Thu, 30 Dec 2010 12:06:35 +0000 |
| Subject: | Re: 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 |
||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-10024@lists.php.net to get a copy of this message | ||
>
>
> 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