Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (33 sloc) 807 Bytes
<?xml version="1.0"?>
<entry name="pulsate" type="effect">
<title>Pulsate Effect</title>
<desc>
The pulsate effect hides or shows an element by pulsing it in or out.
</desc>
<arguments>
<argument name="times" type="Integer" default="5">
<desc>The number of times the element should pulse. An extra half pulse is added for hide/show.</desc>
</argument>
</arguments>
<example>
<height>200</height>
<desc>Toggle a div using the pulsate effect.</desc>
<css><![CDATA[
#toggle {
width: 100px;
height: 100px;
background: #ccc;
}
]]></css>
<code><![CDATA[
$( document ).click(function() {
$( "#toggle" ).toggle( "pulsate" );
});
]]></code>
<html><![CDATA[
<p>Click anywhere to toggle the box.</p>
<div id="toggle"></div>
]]></html>
</example>
<category slug="effects"/>
</entry>
Something went wrong with that request. Please try again.