The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
See 28 more by this user. Created: 08/14/10
Last CDN Push: 09/8/10
Build Tag: gallery-2010.09.08-19-45
Project: YUI 3
License: YUI BSD
YUI Version: 3.7.3
Free for use.
Moving to 'gallery-xarno-list-expander' and Y.Xarno.Plugin.ListExpander
A light weight list manager that will add and remove an "open" className on the targeted <LI> with an optional param for closing the sibling <LI>s
We just plug it in :)
<script src="http://yui.yahooapis.com/3.7.3/build/yui/yui-min.js"></script>
<ul>
<li>Option 1
<ul>
<li>Option 1 A</li>
</ul>
</li>
<li>Option 2
<ul>
<li>Option 2 A</li>
</ul>
</li>
</ul>
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2010.09.08-19-45'
}).use('gallery-list-expander', function(Y) {
Y.one('ul').plug(Y.Plugin.ListExpander);
});
Subject | Author | Date |
---|---|---|
Standardizing apipkin Modules | Anthony Pipkin | 10/16/12 |
All code on this site is licensed under the BSD License unless stated otherwise.