YouTip LogoYouTip

Api Highlight Effect

# jQuery UI API - Highlight Effect ## Category (#) ## Usage **Description:** The Highlight Effect hides or shows an element by animating the background color first. highlight | Parameter | Type | Description | Default | | --- | --- | --- | --- | | color | String | The background color to use during the animation. | "#ffff99" | ## Example Toggle a div using the Highlight Effect. Highlight Effect Demo #toggle { width: 100px; height: 100px; background: #ccc; }

Click anywhere to toggle.

$( document ).click(function() { $( "#toggle" ).toggle( "highlight" );}); (#)
← Api Puff EffectApi Hide β†’