Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 34 lines (33 sloc) 0.835 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<?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>
Something went wrong with that request. Please try again.