Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Andyteq on Nov 13, 2009 00:45
open dhtmlx forum
Active Tab not working

I have created a vertical set of tabs, but when the page loads the designated tab is not active - it just shows the list of tabs in a line, and you have to click on one of them to see the content.

I've used both methods, but still the same problem.

tabbar.setTabInActive(tabID);
<tab selected="1" ...>...</tab> when using an xml file.

Your help would be appreciated.

Thanks

Andy
Answer posted by Alex (support) on Nov 13, 2009 01:44

selected attribute in the xml works for a vertical tabbar. Please, check the samples:

dhtmlxTabbar/samples/03_orientation/03_left.html

http://www.dhtmlx.com/docs/products/dhtmlxTabbar/samples/03_orientation/03_left.html

Also please try to use setTabActive instead of setTabInActive.