Thanks.
Indeed it worked fine, and you're way is much more clean ^^

On 19 sep, 17:44, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> I usually avoid putting onClick events in the html and do it all in the JS.
>
> Like
> $("span.control a).toggle(function(){
>   $(this).addClass("selected");},function(){
>
>   $(this).removeClass("selected");
>
> });
>
> Check out this demo of a similar 
> thing.http://www.commadot.com/jquery/slideMenu.php
>
> I change the handle image too.
>
> Glen

Reply via email to