$(document).ready(function () {
$('.jt-wrapper').justTabs();
});
saveTabInStorage - save current active tab in local storage
$(document).ready(function () {
$('.jt-wrapper').justTabs({
saveTabInStorage: true
});
});
vertical - if you need vertical tabs and width of tab nav in px (by default 150px).
$(document).ready(function () {
$('.jt-wrapper').justTabs({
{
vertical: true,
width: '200px'
}
});
});
getCurrentTab - return index of current tab
selectTab - select current tab
disableTab - if you need to disable tab, you can not switch on it (also you can add class .link_tabs_disable to link in tabs navigagtion)
enableTab - enable disabled tab
$('.jt-wrapper').justTabs('getCurrentTab');
$('.jt-wrapper').justTabs('selectTab', n);
$('.jt-wrapper').justTabs('disableTab', n);
$('.jt-wrapper').justTabs('enableTab', n);
n - number of tab (start from 0)