Re: [jQuery] fadeout doesn't work first time

2009-11-30 Thread Michel Belleville
I think your problem is nothing has the activetab class first, so $(".activetab") selects nothing, you don't start any fadeOut and the fadeIn() callback doesn't get called. Though I'm a bit puzzled as to how it works on the second and subsequent calls (as you don't give the activetab class to any e

[jQuery] fadeout doesn't work first time

2009-11-29 Thread ghostrunner
Hey. I switch betweem three div by clicking on three different link. See code below. I use fadein and fadeout to switch between the divs. The first time i click on one of the links after the pages is loadet the current div just disappears. It doesn't fadeout. The second time and everytime after tha