Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Miklós Kovács on Mar 18, 2008 08:37
open dhtmlx forum
scroll area

I'd like to decrease the scrolling area of the tabs and put some link to the top left conrner (such as Login or Logout).
How can I do it?
Answer posted by Support on Mar 18, 2008 10:23
The only way to change width of tab rows - code modification.
dhtmlxtabbar.js , line 208

z.style.width=parseInt(this.width)+((_isIE && document.compatMode!="BackCompat")?2:0)+"px";

you can add any type of correction here.

>>and put some link to the top left conrner (such as Login or Logout).
The most simple solution
    var z=document.createElement("DIV")
    z.innerHTML="...";
    d.style.cssText='position:absolute; top:0px; right:0px;';
    tabbar._tabZone.appendChild(z);