jQuery: Remove Div after 2 combined animations done?
Posted
by Axel
on Stack Overflow
See other posts from Stack Overflow
or by Axel
Published on 2010-03-28T16:26:45Z
Indexed on
2010/03/28
16:33 UTC
Read the original article
Hit count: 179
jQuery
|JavaScript
Hi,
i have a jQuery line that execute 2 animations, what i want is to remove the #flasher
DIV after sliding it up by my current code. How to add a callback in this bunch of brackets?
here is my code:
$("#flasher").animate({opacity: 1.0}, 6000).animate({"top": "-=30px"},"slow");
Thanks
© Stack Overflow or respective owner