Categories | Question details Back To List | ||
Tabbar Inline Content VS Iframe Hello- I currently have this using XML, However I want to use a default <div> for my onload content and have tabs available to create calls for external data. Can I do that, and if so how? <link rel="STYLESHEET" type="text/css" href="codebase/dhtmlxtabbar.css"> <script src="codebase/dhtmlxcommon.js"></script> <script src="codebase/dhtmlxtabbar.js"></script> <div id="b_tabbar" style="width:612; height:150;"> <script> tabbar2=new dhtmlXTabBar("b_tabbar","top"); tabbar2.setImagePath("codebase/imgs/"); tabbar2.setStyle("modern"); tabbar2.setMargin(-1); tabbar2.loadXML("xml/tabs1.xml"); </script> Answer posted by Support on Sep 22, 2008 01:28 Did you mean that tabbar should be used without content zone ? It is possible. You can disable content zone using enableContentZone method. And set onSelect handler for tabs: function my_func(idn,ido){ /*your code here*/ return true; }; tabbar=new dhtmlXTabBar("a_tabbar","top"); ... tabbar.setOnSelectHandler(my_func); tabbar.enableContentZone(false); |