Chrome style tab-resizing for jQuery UI tabs
stretchy tabs provides methods for adding and removing tabs
##Initialize stretchy tabs
$( ".tabs" ).tabs("stretchyTabs");
##Methods
- add
- remove
e.g:
$( ".tabs" ).tabs("add", "new tab", "content goes here");
$( ".tabs" ).tabs("remove", index); //index is an integer for the tab position
##Events
- tabsbeforeremove,
- tabsremove,
- tabsadd
e.g:
$( ".tabs" ).on("tabsbeforeremove", func);
$( ".tabs" ).on("tabsremove", func);
$( ".tabs" ).on("tabsadd", func);
##Demos