[jQuery] Re: Troubles with animate in IE (possible bug)

2009-03-10 Thread Leonardo K
Ops, change this: $('div.body:visible').slideUp(); to $bodyVisible.slideUp(); because u already have the element to slideUp in the var :D On Tue, Mar 10, 2009 at 13:51, Leonardo K wrote: > I dont know exactly whats wrong in your code, but u can do much simplier > code, like this: > > $(docum

[jQuery] Re: Troubles with animate in IE (possible bug)

2009-03-10 Thread Leonardo K
I dont know exactly whats wrong in your code, but u can do much simplier code, like this: $(document).ready(function() { //hide all div.body $('div.show_wrapper div.body').hide(); $('a.show_link').click(function() { //element to slide Up or Down var $bodyTarget = $(thi