Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 18, 2009 08:10
open dhtmlx forum
changing to iframe generate another error. please see below. Microsoft JScript runtime error: 'this._content[ ...

changing to iframe generate another error. please see below.

Microsoft JScript runtime error: 'this._content[...]' is null or not an object --> this._content[tab.idd]._loaded=false

My code as follows:

<div id='a_tabbar' style="position: absolute; top:60px; left:0px; width:100%; height:500px">

<script type="text/javascript">

tabbar = new dhtmlXTabBar("a_tabbar", "top");

tabbar.setImagePath("../App_Image/tabber/");

tabbar.setHrefMode("iframe");

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

tabbar.addTab("a1", "Static", "100px");

tabbar.addTab("a2", "AJAX", "100px");

tabbar.setContentHTML("a1", "Some static text here");

tabbar.setContentHref("a2", "http://maps.google.com");

tabbar.setTabActive("a1");

tabbar.forceLoad('a2');

</script>

Answer posted by Alex (support) on Mar 18, 2009 08:42

Try to use "iframes" instead of "iframe" as I offered in the previous post.

Locally the same sample works without errors.

Answer posted on Mar 18, 2009 08:56
thanks. it works