Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (33 sloc) 0.835 kB
<?xml version="1.0"?>
<entry name="explode" type="effect">
<title>Explode Effect</title>
<desc>
The explode effect hides or shows an element by splitting it into pieces.
</desc>
<arguments>
<argument name="pieces" type="Integer" default="9">
<desc>The number of pieces to explode, should be a perfect square, any other values are rounded to the nearest square.</desc>
</argument>
</arguments>
<example>
<height>200</height>
<desc>Toggle a div using the explode effect.</desc>
<css><![CDATA[
#toggle {
width: 100px;
height: 100px;
background: #ccc;
}
]]></css>
<code><![CDATA[
$( document ).click(function() {
$( "#toggle" ).toggle( "explode" );
});
]]></code>
<html><![CDATA[
<p>Click anywhere to toggle the box.</p>
<div id="toggle"></div>
]]></html>
</example>
<category slug="effects"/>
</entry>
Jump to Line
Something went wrong with that request. Please try again.