// not sure if we need $(this).dequeue(), but it works alright $(this).before( $("").delay(1000).fadeOut("slow").queue(function() { $(this).remove(); $(this).dequeue(); }) ); // use the built-in callback $(this).before( $(" ").delay(1000).fadeOut("slow", function() { $(this).remove()}) );
No comments:
Post a Comment