22
Jan
Jan
Tweet
Animate Your Links – jQuery Link Nudging
Get animated menu effect using jQuery. A simple and small script that does the trick. Cool effect for your website, or application using jQuery.
The jQuery Javascript
$(document).ready(function() {
$(‘a.nudge’).hover(function() { //mouse in
$(this).animate({ paddingLeft: ’20px’ }, 400);
}, function() { //mouse out
$(this).animate({ paddingLeft: 0 }, 400);
});
});
$(‘a.nudge’).hover(function() { //mouse in
$(this).animate({ paddingLeft: ’20px’ }, 400);
}, function() { //mouse out
$(this).animate({ paddingLeft: 0 }, 400);
});
});
View Demo
Categories:
Tags:
Related Posts