I want to add fade-in animation for couple of widgets one after another. I reviewed the doc, but it only does first fade-in.
$(myWidget1).fadeIn(new Function(){
public boolean f(Event e){
//tried to add the second fade-in for myWidget2, but no result
return true;
}
});
How do I achieve fade-in one after another in this way or, is there another way to do it?
Thanks!
Why dont you use the .each() function to loop through your "widgets".
or if they all have a something in common (i.e. class of tag combination etc.) this would be even easier.
See .each() jQuery API