Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (28 sloc) 0.581 kB
<?xml version="1.0"?>
<entry name="fade" type="effect">
<title>Fade Effect</title>
<desc>
The fade effect hides or shows an element by fading it.
</desc>
<example>
<height>200</height>
<desc>Toggle a div using the fade effect.</desc>
<css><![CDATA[
#toggle {
width: 100px;
height: 100px;
background: #ccc;
}
]]></css>
<code><![CDATA[
$( document ).click(function() {
$( "#toggle" ).toggle( "fade" );
});
]]></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.