Simple Animation Using Jquery
by Vickram H[ Edit ] 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");
});
});