Home › Forums › JavaScript › I must be close…jQuery bounce(); effect??? › Reply To: I must be close…jQuery bounce(); effect???
October 10, 2014 at 6:56 am
#185965
Participant
Indeed, close. Looks like the syntax of the bounce function is a little off. Try this:
$(this).toggle( "bounce", { times: 3 },'fast');
Note though, a bouncing element will become a block level, which is why it will move when it’s actually bouncing. So, better to make the image a block level element anyway, and it won’t move when bouncing.
That should get you a little further.