Why is this iframe not loading?

Is there a way to wait 5 seconds BEFORE allowing an IFRAME to load?

  • Basically, google maps allows you to create a custom, movable map for your website using an IFRAME. This is a great feature. However, loading the map takes some CPU power and causes the 4 second flash animation that happens when each page loads to become very choppy and prolonged. I'd rather wait for the flash animation to be done and then have the page load the iframe containing the google map. Any thoughts?

  • Answer:

    If you know some javascript, then the problem is solved. put the <iframe> code in document.write("<iframe . . .") and put this in a function say delay(). Now call this function by setTimeout("delay()", 5000). But if you don't know javascript then maybe anyone else can help. !!Greetings!!

biologyi... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.