Add tab via a tab.

Is there a way to have a faux tab like in the new version of Firefox? Where the last tab isnt a tab but a + sign that adds a new tab.

Also can I always have a tab on the far right side. How do I create a tab before the very last tab?

Ok let me ask more simpler… Is there a way to move a tab to the far right side of the tabbar?

The 4th parameter of the addTab method is tab position:

[code]tabbar.enableTabCloseButton(false);
tabbar.addTab(“add”,"+",“50px”);
tabbar.enableTabCloseButton(true);

tabbar.attachEvent(‘onSelect’,function(id){
if(id==“add”){
var index = this.getNumberOfTabs()-1;
this.addTab(“tab”+index,“New tab”,"*",index)
return false
}
return true
})[/code]