Is there a better way / extension for ui tabs that can handle / provide tab scroll controls when there are too many tabs?
I found some, but they do not work with the latest jquery-ui-1.10.3. For example, Jizmoz Tabs is much better at option, but does not work with new ui or with jquery 1.9.1.
Any other suggestions?
Jizmoz Tabs JSFIDDLE:
$("#tabs").tabs({ scrollable: true, changeOnScroll: false, closable: true });
Use this library. Jquery-migrate-1.2.1.js should be referenced. Usage example:
$("#tabs").xtabs({ scrollable: true, changeOnScroll: false, closable: true });
Jizmoz Tabs JSFIDDLE, jquery scrollable . jquery-2.1.1, .
magic:
$(".ui-tabs-nav").hover(function () { $(this).css("height", "auto"); $(this).css("overflow", "hidden"); $(this).css("overflow", "auto"); }, function () { $(this).animate({ height: "32px" }, 600); });
, ( 32px, ).
http://riteshsblog.blogspot.in/2011/09/jquery-ui-tab-scroller-plugin.html
[http://jsfiddle.net/Bua2d]
replace "_super._create.apply(self);", with "self._superApply(self);" replace "_super._update.apply(self);", with "self._superApply(self);"
It works, but with some errors.
I created a plugin for this that uses Chrome style tab resizing behavior.
Initialize with
$( ".tabpanel" ).tabs().tabs('overflowResize');
Demo
Github