Blog for web designers

Jquery onmouseover and onmouseout event with animate

We can make an event with jquery when we take our mouse over any element. We need to get an class, id or any unique identification of element to perform better result. In the same time when we move our mouse from certain div we can bind that event too with some sort of jquery code.

Below id the jquery with animate property in it.


$('.previous').hover(function() {
$(".left_arrow").animate({'left':"-61px"},{duration:500})
}, function(){
$(".left_arrow").animate({'left':"21px"},{duration:0});
});

Santosh Shah

My name is Santosh Shah and blogs at santosh-shah.com


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.