Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rachel H. on Sep 03, 2009 14:29
open dhtmlx forum
get Tabbar Contents

Hi,

I'm using your tabbar in iframes mode.

What is the object id of the iframe within a particular tab?

Here is my code:

tabbar=new dhtmlXTabBar("script-content","top");
tabbar.setImagePath("/media/dhtmlx/dhtmlxTabbar/codebase/imgs/");
tabbar.setHrefMode("iframes");
tabbar.addTab("a1","HTML","100px");
tabbar.addTab("a2","Text","100px");
tabbar.setContent("a1","initial_content");
tabbar.setTabActive("a1");


Thanks,
Rachel
Answer posted by Alex (support) on Sep 04, 2009 03:22

Hello,

method tabWindow(tabId) returns window of tab content for iframe based tabbar.

var win = tabbar.tabWindow("a1");