pupunzi.open-lab.com
jquery mb.tabset | Pupunzi
keep your tabs ordered! A useful component that let you build a tabbed interface really easily; ad you can even sort your tabs as you want! see the demodownload it How does it works: here is the js call: [crayon-5c68c5223e63d423605052/] here is the code for each tabset: [crayon-5c68c5223e646820442731/] here is the code for each tabContent: [crayon-5c68c5223e649550935695/] Params sortable: (boolean) define if the tabs are sortable or not position: ("left" or "right") define the tabset position start: (function) a callBack function on start sort stop: (function) a callBack function on stop sort to set a tab disable just add "disabled" to the tab class to load tab content via ajax just add: class="tab sel {content:'cont_1_2', ajaxContent:'your ajax page url', ajaxData: 'data you want to send'}" to store the new position of the tabs there's a variable [crayon-5c68c5223e64c008436885-i/] that returns an array with new tab position each time a sortable action is completed; this