I need a small Javascript code that will load a 2nd webpage in the background without showing it and without loading any images. It should keep everything else. Just not the images. The javascript itself needs to be fairly small. I don't want it to make the first webpage load too slowly. Tell me if you can do it and how much it would cost. Thanks.
After the first page is finished loading (or after 5 seconds if that's too hard). No because the images from the second page will probably be too big. I have no control over the second page. So to keep the loading shorter I need no images. Maybe: <iframe src="http://www.google.ca/" width="1" height="1" images="no"></iframe> but I don't think that actually works. I'm thinking: <script language="JavaScript"> <!-- hide function go(theUrl) { window.noimages.location.href='http://www.google.com/'; } // done hiding --> </script> <iframe src="javascript:go();" width="1" height="1"></iframe> I just don't know the right code to do it.
Here's a good example of why it's bad to use frames to load a 2nd website: Go To: http://www.websiteoptimization.com/services/analyze/ And put in this site: 'http://www.colonzone.org/colonix-review.php' See all the stuff that loads up in the hidden frame. The woman did a great job of hiding her affiliation with the other site but it's no longer 56k friendly. It would take 147.28 seconds to completely load everything and that's way too long. I want to keep the page 56k friendly.
I have a solution for you if you're interested. But I just want to make sure I'm understanding it completely. >>> Your main site is loaded in the browser, mainsite.com. When that happens, you want to load hiddensite.com without showing it at all... In other words, it's like I type in google.com and then google.com's website shows up but then I also get yahoo.com to load (place a cookie) without yahoo.com showing in the browser... ------------------ Is that right?