Skip to content

adamjimenez/stretchy-tabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stretchy tabs

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

About

Chrome style tab-resizing for jQuery UI tabs

Resources

License

Stars

Watchers

Forks

Packages

No packages published