Is it possible to get some kind of event notifciation when an element has faded in using jQuery? I.e. if there was a 'fadeInEvent' I would try something like
$('elements').delegate('selector', 'fadeInEvent', function() {
alert('someId has faded in');
});
I know that there is a callback function for jQuery.fadeIn(), e.g.
$('#someId').fadeIn('fast', function() {
alert('callback when someId has faded in');
});
but I would rather use an event solution if possible. I also did some prototyping using :visible
, but it returns true
before the fade in has completed.