(^606) ❘ APPENDIX Q TABS
tabs('refresh') Refreshes the positions of tabs that
were added or removed from the
DOM.
jQuery
tabs('widget') Returns a jQuery object of the tabs
container.
jQuery
TAB OPTIONS
OPTION DESCRIPTION TYPE
active Determines which tab panel should be
open.
If a boolean value is provided, setting
to false collapses all panels.
If an integer is provided, setting to a
zero-based offset representing the tab
will open that panel. A negative value
selects the active panel counting from
the last tab instead of the beginning.
Default value: 0
Boolean,
Integer
collapsible When the value is true, the active
panel can be closed (meaning it is
possible to have no active panel at all).
Default value: false
Boolean
disabled If a boolean is provided, it indicates
whether all tabs are enabled or
disabled.
If an Array is provided, it contains the
position of each tab (zero-based) that
should be disabled upon initialization.
Default value: false
Boolean,
Array
event The type of event to be used for
selecting a tab. For example, to
activate a tab when the user’s
mouse enters the tab, use the value
'mouseover'.
Default value: 'click'
String
(continued)
http://www.it-ebooks.info
elliott
(Elliott)
#1