Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lalit on Feb 25, 2009 22:59
open dhtmlx forum
tabbar issues

Hi I am getting the same error as in "http://www.dhtmlx.com/docs/products/kb/index.shtml?cat=7&q=1832 "
"window.getComputedStyle(this.entBox, null) has no properties
[Break on this error] this.entBox, null)["width"]) " which is a blocking issue as the url is not displayed

I have also set my tabbar's container height and width as
<div id="a_tabbar" class="bgcol" style="position:relative;width:100%;height:100%; overflow:auto !important"/>

Also the frame's style which I want to display on click of a button I have set as block

var ref_iframe = parent.document.getElementsByTagName('iframe')[0];
// This line will refresh the current page
ref_iframe.src = "/url;
document.getElementsByTagName('iframe')[0].style.display="block";

But still it is not working.
Could you guide me where is the issue ?

Regards,
Lalit
Answer posted by Alex (support) on Feb 26, 2009 03:53

Hi,

Have you already resolved the issue ?

http://www.dhtmlx.com/docs/products/kb/index.shtml?cat=7&q=1832

Answer posted on Feb 26, 2009 04:03
Yes,Got this issue resolved.
There was error in accesing

        var ref_iframe = parent.document.getElementsByTagName('iframe')[0];

So I have used document.location.href to access the iframe

Thanks,
Lalit