Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrolling height of IFrame
Message
From
20/11/2012 23:12:34
 
 
To
20/11/2012 22:29:08
General information
Forum:
Javascript
Category:
IFrame
Miscellaneous
Thread ID:
01557719
Message ID:
01557721
Views:
27
This code is good. However, I was executing it based on the existence of the loading of the frame where IE makes the object available when completed where Firefox and Chrome make the object available as soon as it is processed. Thus, the code was executing too fast for those two browsers. I have adjusted the code to plug the function to execute in the IFrame object onload event.

So, this results in the same situation as before. In the function, I have an alert box. That alert box is shown before the frame becomes visible. This shouldn't be. Because the IFrame onload event should only occur when the frame has completed its loading process.
      loIFrame=document.getElementById('IFrameMenu')
      loIFrame.onload=ResizeEnvironment(nBrowserWidth)
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform