Hi
I am having a problem manipulating the dhtmlx example tabbar that has been defined using html. When i add the setTabActive(“a2”) command as suggested in the docs i get “a_tabbar is not defined”.
<div id="a_tabbar" class="dhtmlxTabBar" imgpath="../../codebase/imgs/" style="width:390px; height:390px;">
<div id="a1" name="Tab 1-1" width="100px">
<img src="../common/page_a.gif">
</div>
<div id="a2" name="Tab 1-1" width="100px">
<img src="../common/page_b.gif">
</div>
<div id="a3" name="Tab 1-1" width="100px">
Content 3
</div>
</div>
<script>
a_tabbar.setTabActive("a2");
</script>
Eventually i want to attach an “onSelect” event to tab a2 when it is clicked.
Thanks
Wimac