Functionality for window tabs.
Copyright © 2007-2008 Greg Houston, http://greghoustondesign.com/.
MIT-style license.
Core.js, Window.js (for tabbed windows) or Layout.js (for tabbed panels)
| Tabs.js | Functionality for window tabs. |
| Functions | |
| initializeTabs | Add click event to each list item that fires the selected function. |
| selected | Add “selected” class to current list item and remove it from sibling list items. |
Add click event to each list item that fires the selected function.
initializeTabs: function( el )
Add “selected” class to current list item and remove it from sibling list items.
selected: function( el, parent )