Security Warning from IE7 when adding second Tab into tabbar

We ran into this strange problem whenever we try to add second Tab into the tabbar, IE7 will popup a security warning message about “secure and non-secure contents are being display on the same page”. Firefox 2 dose not have the similar problem. Please advise.



Warning message will appear with following codes.



tabbar = new dhtmlXTabBar(“a_tabbar”,“top”);

tabbar.setImagePath("<%=portalToolkit.getImagesHref()%>/dhtmlxTabbar/");

tabbar.setSkinColors("#FCFBFC","#F4F3EE","#FCFBFC");

tabbar.addTab(“panel1”,“Summary”,“150px”);

tabbar.addTab(“panel2”,“Reports”,“100px”);

tabbar.setContentHTML(“panel1”, “
Hello World…”);

tabbar.setContentHTML(“panel2”, “
Hello World…”);

tabbar.setTabActive(‘panel1’);

tabbar.enableScroll(false);



But no warning if we comment out lines which adds extra Tab.



tabbar = new dhtmlXTabBar(“a_tabbar”,“top”);

tabbar.setImagePath("<%=portalToolkit.getImagesHref()%>/dhtmlxTabbar/");

tabbar.setSkinColors("#FCFBFC","#F4F3EE","#FCFBFC");

tabbar.addTab(“panel1”,“Summary”,“150px”);

// tabbar.addTab(“panel2”,“Reports”,“100px”);

tabbar.setContentHTML(“panel1”, “
Hello World…”);

// tabbar.setContentHTML(“panel2”, “
Hello World…”);

tabbar.setTabActive(‘panel1’);

tabbar.enableScroll(false);



Thanks,

Unfortunately problem can’t be reconstructed with local samples. Which version of tabbar do you use?
In latest version such problem can occur only if path to image directory is incorrect.
Please be sure that image directory contains all files from same directory of package ( including blank.html )

If problem still occurs for you - please send any kind of sample where error can be reconstructed, you can send it directly to support@dhtmlx.com


We are able to work around this issue by adding the second and third tab after the rest of the page were loaded in a different function. The version of tabbar which we are using is from dhtmlxSuite_70813.zip. Please let me know if this is a bug related in that version.



Thanks,