Having tabs limit, sortable, and closable.
|Reported by:||k776||Owned by:||klaus|
I have a script that you add a new tab/div when you press something. Trouble is, after a while these pile up.
Is there way to close a tab, make them sortable and also have them limited like Firefox does (if you have 100 tabs open, you get arrows to scroll through them)?
I looked at ExtJS but its too complicated. Ultimately it would be neat to do something like (combining with other plugins and such):
$('#tab_uls').setuptabs(closable, limit, sortable);
That would setup all li items in a ul tag into divs, with the div inside each li made into the content, then I could add a new li item using dom, and refresh tabs. The functionality of close/reorder would instantly become available.
Maybe perhaps for a future version? Would be VERY useful.