Categories | Question details Back To List | ||||||||
about tabbar loading problem Dears, i use your product of tabbar in my application,and have a problem need your help. first,i creat a a.html,and load xml file b.xml in it,get a first web page.like this: /*########in a.html##########*/ <div id="a_tabbar" class="dhtmlxTabBar" style="width:100%; height:500px;"/> <scrip> tabbar=new dhtmlXTabBar("a_tabbar","left",150); tabbar.setImagePath("codebase/imgs/"); tabbar.loadXML("b.xml"); </script> /*###########################*/ b.xml like follow: /*##############*/ <?xml version="1.0" encoding="utf-8"?> <tabbar hrefmode="ajax-html"> <row> <tab id="a1" selected="1" width='20px' href="a1.html">a1</tab> <tab id="a2" width='20px' href="tab_html/a2.html">a2</tab> </row> </tabbar> /###########*/ i have two tab "a1"and"a2",and every tab can load a html file. then,i modify a1.html file,i want put tabs in it also,and code as follow: /*##################*/ <div id="a_tabbar1" class="dhtmlxTabBar" style="width:100%; height:500px;"/> <scrip> tabbar1=new dhtmlXTabBar("a_tabbar1","left"); tabbar1.setImagePath("codebase/imgs/"); tabbar1.loadXML("b1.xml"); </script> /*##################*/ b1.xml is same with b.xml. but now,i find some issue,as follow: if like my original code,when i creat the second tabe in b1.xml,and setting tabbar oritation is left,then i can see the tabbar. or i setting to right,also can see it. but if i setting to "top",than i canot see tabbar in my tab,if i setting to bottom,i have only see one tabbar,but i have two tabbar. pls help to see my question and reply me ASAP thanks! Answer posted by Support on Apr 03, 2008 05:25 The issue caused by css clashing , the default css written for using nested tabbars where tompost tab is top oriented. For left oriented tabbar - please use attached css file instead of original one. Attachments (1)
|