Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (39 sloc) 1.095 kb
<?xml version="1.0"?>
<entry name="blind" type="effect">
<title>Blind Effect</title>
<desc>
The blind effect hides or shows an element by wrapping the element in a container, and "pulling the blinds"
</desc>
<longdesc>
<p>The container has <code>overflow: hidden</code> applied, so height changes affect what's visible.</p>
</longdesc>
<arguments>
<argument name="direction" type="String" default='"up"'>
<desc>
<p>The direction the blind will be pulled to hide the element, or the direction from which the element will be revealed.</p>
<p>Possible Values: <code>vertical</code>, <code>horizontal</code>.</p>
</desc>
</argument>
</arguments>
<example>
<height>200</height>
<desc>Toggle a div using the blind effect.</desc>
<css><![CDATA[
#toggle {
width: 100px;
height: 100px;
background: #ccc;
}
]]></css>
<code><![CDATA[
$( document ).click(function() {
$( "#toggle" ).toggle( "blind" );
});
]]></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.