Jump to content

Preloading a Webpage


.Darkman

Recommended Posts

Hello everybody,

 

 

Is there anyway to preload an HTML page ?

 

For eg. i have an iframe and a link that will open phpfreaks.com in the iframe.

 

When the user clicks on the link, i don't want to wait for the load time. Is it possible to display it instantly ?

 

That means the page will be preloaded.

 

 

 

Please help.

 

 

Thanks,

Link to comment
Share on other sites

Only if you pre-load it into the code but comment it out and de-comment it at runtime. it's not the sort of thing that PHP can do because it's pre-processed before downloading... which means that the page would need to be downloaded again.

 

You could use Java script if you wanted to. Flash could do it too... not PHP.

 

Or you could just wait for it to load...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.