Animation in jQuery

 

$('#clickme').click(function() {
$('#book').animate({
width: ['toggle', 'swing'],
height: ['toggle', 'swing'],
opacity: 'toggle'
}, 5000, 'linear', function() {
$(this).after('
Animation complete.
'); }); });

Leave a reply

Your email address will not be published.