Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by johnny on Jul 29, 2008 00:00
open dhtmlx forum
how come there is a scroll-bar?

dear sir,

I am trying to use your dhtml tabber

here is the code
<link rel="STYLESHEET" type="text/css" href="./codebase/dhtmlxtabbar.css">
<script src="./codebase/dhtmlxcommon.js"></script>
<script src="./codebase/dhtmlxtabbar.js"></script>
<script src="./codebase/dhtmlxtabbar_start.js"></script>

</head>
<body>
<div id="a_tabbar" style="width:400;height:100"></div>
<script>
tabbar=new dhtmlXTabBar("a_tabbar","left");
tabbar.setImagePath("./imgs/");
tabbar.enableContentZone(false);
tabbar.loadXML("1.xml");

tabbar2=new dhtmlXTabBar("b_tabbar","right");
tabbar2.setImagePath("./imgs/");
tabbar2.enableContentZone(false);
tabbar2.loadXML("1.xml");

tabbar3=new dhtmlXTabBar("c_tabbar","top");
tabbar3.setImagePath("./imgs/");
tabbar3.enableContentZone(false);
tabbar3.loadXML("3.xml");

tabbar4=new dhtmlXTabBar("d_tabbar","bottom");
tabbar4.setImagePath("./imgs/");
tabbar4.enableContentZone(false);
tabbar4.loadXML("3.xml");
</script>

How come there is a scroll bar appears on the top?
I am not familar with this system so I don't really know where to remove it.

Thank you very much
Answer posted by Support on Jul 29, 2008 01:42
There is any unwanted scrollbars uppears , while checking the same code ( sample attached )
If you mean "tab level" scrollers - they appear automatically , when size of tabs greater than size of visible space and can be disabled by  

    tabbar.enableScroll(false);
Attachments (1)