MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Slow Iframes
Current time: 02-28-2021, 05:48 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slow Iframes
04-22-2013, 09:59 PM (This post was last modified: 04-22-2013 10:01 PM by Little Hotels.)
Post: #1
Slow Iframes
I am finding that three iframes on my page are consistently (well, fairly consistently) slow to load. Here is a part of the waterfall:
[Image: Capture.JPG]

The iframes are called like this:
PHP Code:
<iframe src="../prices.php?hid=<?php echo $row_hotel['hid'];?>" width="100%" height="200px" id="iframe1" marginheight="0" frameborder="0" onLoad="autoResize('iframe1');"></iframe
Could it be something to do with the onLoad?

I would like to load the iframes asynchronously after the main page onLoad has fired, but I can't find any guidance on the web that would allow me to keep the onLoad function inside it.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Slow Iframes - Little Hotels - 04-22-2013 09:59 PM
RE: Slow Iframes - andydavies - 04-23-2013, 06:35 AM
RE: Slow Iframes - Little Hotels - 04-23-2013, 08:13 PM
RE: Slow Iframes - Little Hotels - 04-26-2013, 01:05 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)