.Darkman Posted May 7, 2007 Share Posted May 7, 2007 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, Quote Link to comment https://forums.phpfreaks.com/topic/50330-preloading-a-webpage/ Share on other sites More sharing options...
gerkintrigg Posted May 7, 2007 Share Posted May 7, 2007 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... Quote Link to comment https://forums.phpfreaks.com/topic/50330-preloading-a-webpage/#findComment-247223 Share on other sites More sharing options...
.Darkman Posted May 7, 2007 Author Share Posted May 7, 2007 So, can you say me how to do it with Javascript ? I mean use javascript to do it and use it in a PHP page's iframe. Quote Link to comment https://forums.phpfreaks.com/topic/50330-preloading-a-webpage/#findComment-247235 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.