jQuery bounce effect

Adding the following code to the jQueryUI plugin:

    $( '#bouncebox' ).click(function() {
      $( "#bouncebox" ).effect( "bounce", { times: 3 }, 1000 );
    });

Click on the box to make it bounce.

Print Friendly

Leave a Reply

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



*