Simple Animation Using Jquery

by Vickram H 2012-09-05 17:15:51


Simple Animation Using Jquery:


Sample Code:

$(document).ready(function(){
$("button").click(function(){
$("div").animate({height:300,opacity:0.4},"slow");
$("div").animate({width:300,opacity:0.8},"slow");
$("div").animate({height:100,opacity:0.4},"slow");
$("div").animate({width:100,opacity:0.8},"slow");
});
});

Tagged in:

876
like
0
dislike
0
mail
flag

You must LOGIN to add comments