资源说明:A Tab Manager system form Prototype js and scriptaculous
# TabManager - A simple, unintrusive Tab Maker for prototype By: NickCis https://github.com/NickCis ## How to use it: $().TabManager( ); Element.TabManager( , ); TabManager( , ); (optional) is a dictionary (see below defaults for an explanation about each keyword) IMPORTANT: in order to work, the container of the tab system needs to have an id!. ## Structure of html: title 1## Example js: $('tabs').TabManager({'listId':'ulcontainer'}); See example for further details. ## Functions: showTab(Content #1title 2Content #2title 3Content #3) show the tab of index (the index starts in 0) lengthTabs() returns the number of tabs lastTab() show the last Tab nextTab() show next tab (if the last last one was selected, the first one is shown) prevTab() show the previous tab (if the first one was seleccted the last is shown) currentTabIndex() returns the current tab index (the index starts from 0) Licensed under the MIT licence (http://www.opensource.org/licenses/mit-license.php)
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。