Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Need Function to Complete before Proceeding Re: Need Function to Complete before Proceeding

#106805
TheDoc
Member

Why can’t you use a callback on the fadeTo?

fadeTo(white, function() {
// other stuff
});

From the docs:
.fadeTo( duration, opacity [, easing] [, callback] )