Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript I must be close…jQuery bounce(); effect??? Reply To: I must be close…jQuery bounce(); effect???

#185965
Senff
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.