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 1 more by this user. Created: 05/20/10
Project: YUI 3
License: YUI BSD
YUI Version: 3.1.1
Free for use.
This component is a "vertical" tab component.
It looks like a sidebar with several panel options to choose for. An animation shows the contents as opening when we want to review the actual contents.
<ul id="sidepicker">
<li><a href="#first">First Tab</a></li>
<li><a href="#second">Second Tab</a></li>
<li><a href="#third">Third Tab</a></li>
</ul>
<div>
<div id="first">
Contents inside the first part.
</div>
<div id="second">
Contents inside the second part.
</div>
<div id="third">
Contents inside the third part.
</div>
</div>
<script>
YUI().use('gallery-sidepicker', function(Y) {
var sidepicker = new Y.Sidepicker('sidepicker');
});
</script>
No forum posts for this module.
All code on this site is licensed under the BSD License unless stated otherwise.