Tabbar - get object reference to Tabbar after HTML create

I am instantiating tabbar as HTML and wish to then use javascript to modify behaviors not exposed in HTML construction (e.g. removing the scrollbars). getElement to the container div ID does not seem to do it (not surprised).



Thoughts?



Thank you.


You can try to use the following approach to set automatic sizes for tabbar:


<div id=“a_tabbar” onbeforeinit=“setsizes()” class=“dhtmlxTabBar” imgpath="…" style=“width:100px; height:100px;” …>…




function setsizes(){
a_tabbar.enableAutoSize(true,true)
}



just by calling a_tabbar will get you the reference.