How to animate two pics using jquery or javascript? -
i have 2 images , want animate these on click of button.i want when click on button both images comes closer each other. how can it? can please me it.
something like:
$('input[type=button]').click(function() { $('#pic1').animate({left:+=50}); $('#pic2').animate({left:-=50}); });
Comments
Post a Comment