w2tabs.disable

Disables a tab or tabs.
disable(id1, [id2], ...)
id string, id of the tab
Returns array that contains ids of effected tabs.

Description

The tab(s) must exists in the .tabs array of the tabs. The tab object is identified by the .id property. The method returns the number of disabled tabs that were enabled before.
If you have tabs defined in the following way: You can add tabs:

User Comments

comments powered by Disqus