Add bounce effect on Click of the DIV

How to add a bounce effect on the DIV


$(function() {
  //Add bounce effect on Click of the DIV
  $('#bouncy').click(function() {
    $(this).effect("bounce", {
      direction: 'up',
      times: 5
    }, 500);
  });

  //Bounce all DIVs on click of button
  $("#bounce").click(function() {
    $("div").click();
  });
});
DEMO
Add bounce effect on Click of the DIV Add bounce effect on Click of the DIV Reviewed by Bhaumik Patel on 8:43 PM Rating: 5