[jQuery] Re: slideUp and slideDown works only once

2009-04-25 Thread adw999
Thanks for the help but i solved it without a plugin, using slideToggle. It's still a bit jumpy but: $('.open').slideToggle('slow', function() { $(this).removeClass ('open'); }); $('.'+$(this).attr("id")).slideToggle('slow', function() { $ (this).addClass('open');

[jQuery] Re: slideUp and slideDown works only once

2009-04-25 Thread Jeff Jones
I'm not sure what your ultimate goal is, but you might try the cycle plugin. It has a lot of flexibility. http://plugins.jquery.com/project/cycle On Apr 24, 8:07 pm, adw999 wrote: > I tried using slideToggle but the screen flickers badly, any reasons > for this? > > Thanks > > On Apr 25, 12:5

[jQuery] Re: slideUp and slideDown works only once

2009-04-24 Thread adw999
I tried using slideToggle but the screen flickers badly, any reasons for this? Thanks On Apr 25, 12:53 am, amuhlou wrote: > The function you are calling calls slideUp for the first div and > slideDown for the 2nd item.  When you click it a 2nd time it won't > work because the divs are already i

[jQuery] Re: slideUp and slideDown works only once

2009-04-24 Thread amuhlou
The function you are calling calls slideUp for the first div and slideDown for the 2nd item. When you click it a 2nd time it won't work because the divs are already in the positions they should be (having already been slid up and down). I think you may have better luck with the slideToggle metho