.get() breaks the chain returning the actual DOM element. .eq() does something similar without breaking the chain
$(settings.slide).hide().eq(i).fadeIn(); should work -blair Brian Litzinger wrote: > I have a little bit of code that I want to hide x amount of divs, then when > they're all hidden to show a specific one. Right now I have this... > > // hide all found divs > $(settings.slide).hide(); > // get the slide that i want shown > div = $(settings.slide).get(i); > // show the slide when everything is hidden > $(div).fadeIn(); > > How do I chain a hide all, then show one function? _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
