Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery UI API - Bounce Effect

jQuery UI API - Bounce Effect

Category

Effects

Usage

**Description:** The Bounce Effect bounces an element. When used with hide or show, the last or first bounce takes on a fade-in/fade-out appearance.

bounce

Parameters Type Description Default value
distance Number The maximum distance to bounce, in pixels. 20
times Integer The number of times the element bounces. When hiding or showing, half a bounce is added for the fade-in/fade-out effect. 5

Example

Toggle a div with the Bounce Effect.









  

  反弹特效(Bounce Effect)演示

  

  

  

  





 

点击任意地方进行切换。