Click to See Complete Forum and Search --> : IFrame Display Problem


shoevarek
04-29-2004, 12:09 PM
Hi Everyone

I have an asp page that contains few iframes. They mostly display some dynamically created drop downs. Problem is that when client gets into the site the first time not all of them are displayed. After reloading the page everything looks correctly.
To make things more confusing the same site on other server is displayed correctly. What can be the reason? Some server configuration issues? Did anybody bump into problem like this?

The iframe elements refer to other asp pages. Expand when complete function sets iframe document body size.

<iframe id="ifrAccess_CL" name="ifrAccess_CL" src="SM_Access_toForm_byCL.asp" style="width:100%;height:95px" frameborder="0" onreadystatechange="ExpandWhenComplete(this.readyState,this.name);">

ShrineDesigns
05-01-2004, 02:28 AM
there is no such attribute called onreadystatechange in html

shoevarek
05-03-2004, 10:03 AM
Yes it is not standard html attribute. This event is supported by IE DOM i believe. Maybe this event is not fired when the page is loaded the first time (or not everytime)???

Kor
05-05-2004, 07:21 AM
onreadystatechange is a Document's property, not a Node property.

Thus, I am not sure, but I don't think you may use the related handler upon an iframe...

(the same as you can not use, let's say, onload any other place than body)