Click anywhere to toggle.
$( document ).click(function() { $( "#toggle" ).toggle( "pulsate" );}); (#)Api Pulsate Effect
# jQuery UI API - Pulsate Effect
## Category
(#)
## Usage
**Description:** The Pulsate effect hides or shows an element by pulsating it.
pulsate
| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| times | Integer | The number of times the element should pulsate. When hiding or showing, half a pulsation is added. | 5 |
## Example
Toggle a div using the Pulsate effect.
Pulsate Effect Demo #toggle { width: 100px; height: 100px; background: #ccc; }
YouTip