How to Pre-load Webpage then Pop in New Window Once Pre-loaded?
Is it possible to have a webpage pre-loaded once a link is clicked. Then when that page is fully loaded, pop a new window with the page in it?
The effect I want the end user to see is a new page pop open with next to no delay rendering that page in that new window.
What would happen if you do a standard "preload an image" pointing to your web page instead of an image? Would it preload the target page?
There's no practical way to achieve this. At some point you would have to preload all of the resources (html, images, stylesheets, scripts, etc.) for any page you wanted to make available in this manner. So even if you have some very clever code to avoid some unnecessary preloading and do this all only after the current page has fully loaded, unless the user spent enough time perusing the current page to allow all of those resources to be preloaded, there will still be some delay while the balance of those resources is loaded by the browser. I think you'd be much better off just doing whatever you can to make your pages naturally load faster. There's lots of information on this topic online to help you.
... and please remember to wrap code with forum BBCode tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread