Hello,
Primary, thanks for this usefull / beautifull jquery additions :)
So, i tried to disable one tab (note hide) but it doesnt work. I tried with a calback function like this :
The tab witch should be desactivated have the desact class like this :
I dont know how to do, thanks for your help :)
EDIT : I just want the desactivated tab do nothing when I click on.
Primary, thanks for this usefull / beautifull jquery additions :)
So, i tried to disable one tab (note hide) but it doesnt work. I tried with a calback function like this :
$(function() {
$("ul.tabs").tabs("div.panes > div", {
effect: 'fade',
onBeforeClick: function(event, tabIndex) {
if(this.getCurrentTab().is(".desact")) {
return false;
}
}
});
});
The tab witch should be desactivated have the desact class like this :
<ul class="tabs">
<li><a href="#">Foo</a></li>
<li class="desact"><a href="#">Bar</a></li>
</ul>
I dont know how to do, thanks for your help :)
EDIT : I just want the desactivated tab do nothing when I click on.
