changing to iframe generate another error. please see below.


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>


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


Locally the same sample works without errors.

thanks. it works