dhtmxTabbar scrollbar problem with 2.6

Hi,

I have a page in which we use dhtmlxTabbar 2.6 PRO, and the calendar and windows components. So we need to include de following lines.

<script type="text/javascript" src="/resources/js/dhtmlx/dhtmlxcommon.js"></script>
<script type="text/javascript" src="resources/js/dhtmlx/dhtmlxcontainer.js"></script>

<script type="text/javascript" src="resources/js/dhtmlxCalendar/dhtmlxcalendar.js"></script>

<script type="text/javascript" src="resources/js/dhtmlxWindows/dhtmlxwindows.js"></script>

<script type="text/javascript" src="resources/js/dhtmlxTabbar/dhtmlxtabbar.js"></script>
<script type="text/javascript" src="resources/js/dhtmlxTabbar/dhtmlxtabbar_start.js"></script>

After this we create a Tabbar like this (I need to show the scrollbar if needed)

<div id="myCongressTabbar" class="dhtmlxTabBar"
	oninit="myCongressTabbar.showInnerScroll(); myCongressTabbar.setSkinColors('', '', '#ffffff');"
	imgpath="/resources/css/myc/imgs/"
	style="width: 850px; height: 500px;">

With version 2.5 of the componentents it works ok and shows the scrollbar, but with 2.6 the scrollbar is not shown.

I try to remove

<script type="text/javascript" src="resources/js/dhtmlx/dhtmlxcontainer.js"></script>

And without it the scrollbar works, but the dhtmlxWindow not.

Thanks for your help.

Hi,

the problem is confirmed. Please create ticket at support.dhtmlx.com/ to get fixed version. Or you may try to add the following fix into dhtmlxtabbar.js (please use the library from “sources” folder where the code isn’t compressed).

locate the showInnerScroll definition:

showInnerScroll: function(){ for (var i in this._tabs) this.cells(i).dhxcont.mainCont.style.overflow="auto"; },

and replace it with the following:

showInnerScroll: function(){ for (var i in this._tabs) if(this.cells(i).vs){ var view = this.cells(i).av; this.cells(i).vs[view].dhxcont.mainCont[view].style.overflow="auto"; } else this.cells(i).dhxcont.mainCont.style.overflow="auto"; },