Categories | Question details Back To List | ||
[tabbar] can't see tabs of nested tabbar on IE6 Hi, I use nested tabbar and in IE7 it works fine. But in IE6, there is a problem with iFrames. It seams, that iframes are always disabled. So I can't see the tabs of the nested tabbar. Or is something wrong with the code? This is my code: <div id='a_tabbar' style="width:250;height:300px"></div> <div id='b_tabbar' style="width:250;height:300px"></div> <script> tabbar=new dhtmlXTabBar('a_tabbar','top'); tabbar.setImagePath("codebase/imgs/"); tabbar.setStyle("modern"); //tabbar.preventIECashing(true); tabbar.setHrefMode("iframes-on-demand"); //tabbar.enableContentZone(false); //tabbar.setHrefMode("iframes"); tabbar.addTab("a1","p1","110px"); tabbar.addTab("a2","p2","100px"); tabbar.enableAutoSize(true,true); tabbar.setMargin(-1); tabbar.setContentHref("a1","info.jsp"); tabbar2=new dhtmlXTabBar('b_tabbar','left'); tabbar2.setImagePath("codebase/imgs/"); tabbar2.setStyle("modern"); tabbar2.setHrefMode("iframes-on-demand"); // tabbar2.enableContentZone(false); tabbar2.addTab("a2","H5","50px"); tabbar2.addTab("a3","H6","50px"); tabbar2.enableAutoSize(true,true); tabbar2.setMargin(-1); tabbar2.setContentHref("a2","qd.jsp?h=5"); tabbar2.setContentHref("a3","qd.jsp?h=6"); tabbar2.setTabActive("a2"); tabbar.setContent("a2","b_tabbar"); tabbar.setTabActive("a1"); </script> Thanks a lot Answer posted by Support on Nov 04, 2008 03:01 The problem is in tabbar2.enableAutoSize(true,true); This mode works well , when you are using static content inside the tabbar, but it will not work correctly for iframes, and cause problems in IE6. Commenting this line will resolve issue. Answer posted by Janet K. on Nov 04, 2008 04:22 OK, but no success. If I open and close with ok the settings-dialog of IE6 (without change), after it the tabs are shown. So I think, it is a problem of the Browser. Is there another solution without iframes, f.e. divs and innerhtml? Best regards Answer posted by Support on Nov 04, 2008 05:02 Working sample sent by email. |