How to bouncing images using jQuery when we hover the images?
+2
A:
This would be like
$('img').bind('mouseenter', function(){
$(this).effect("bounce", { times:3 }, 300);
});
using jQuery UI effects.
jAndy
2010-06-24 11:41:20
thanks :) waiting for you Andy
Rudi
2010-06-24 11:42:58
These links were banned for a reason: http://meta.stackoverflow.com/questions/15650/ban-lmgtfy-let-me-google-that-for-you-links
Nick Craver
2010-06-24 11:44:22
-1, Don't think this answer is helpful.
rahul
2010-06-24 11:44:23
@Nick: oh wow, I didn't even know that. Well, at least I added a slighty advanced description. But for questions like this, I take the shame for that.
jAndy
2010-06-24 11:46:51
Taking back my down vote since you have provided an answer. Its better if you can delete that link also.
rahul
2010-06-24 11:48:37
+3
A:
I'm not sure exactly what you're looking for, but if you're using jQueryUI, it has a bounce
effect.
Try it out: http://jsfiddle.net/G8Ste/
$('#myimage').mouseenter(function() {
$(this).effect('bounce',500);
});
You can test the various effects here:
patrick dw
2010-06-24 11:46:03
@jAndy - this was posted while your answer was just a LMGTFY link...
Nick Craver
2010-06-24 11:49:51