Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Steven on Sep 24, 2009 16:12
open dhtmlx forum
Tab width

Hey there,

I am having issues changing the size of the tab width, I'm not trying to change the container size, just the width of the tab links themselves.

Your documentation doesn't seem to work. I installed this a wile ago, and think I am using the html version. as I have the following at the end of tabbar.

<script>
                        function doIt(){
                         a_tabbar.setOnSelectHandler(function(id){
                         var box=this._content[id];
                                        if (!box) return;
                                        box.style.height="1px";
                         var y=box.scrollHeight+10;
                         box.style.height="100%";
                             this.setSize(this._conZone.offsetWidth,y,true);
                             return true;

                         });
                        }

                        </script>
Answer posted by Alex (support) on Sep 25, 2009 07:04

Hello, 

the width of the tab can be set in the tab div:

<div id="a1" name="Tab 1-1" width="200px">