Description
Preloads images before changing a url.
Browser support
| Internet Explorer 4+ | Script works as expected |
|---|---|
| Opera 7+ | Script works as expected |
| Gecko engine browsers (Mozilla, Firefox, Netscape 6+, etc) | Script works as expected |
| KHTML/WebKit (Konqueror, Safari, OmniWeb 4.5+, iCab 4+) | Script works as expected |
| iCab 3- | Script works as expected |
| Rhino + W3C DOM (ICEbrowser) | Script works as expected |
| Rhino + layers/W3C DOM (Escape/Evo, iBrow) | Script worked in Escape 4 but fails in Escape 5 |
| NetFront 3+ | In 3.3- images load, but the script cannot tell when loading completes, in 3.4, not all images load |
| Opera 5 and 6 | Script works as expected |
| Netscape 4 | Script works as expected |
| OmniWeb 4.2- | Images load, but the script cannot tell when loading completes |
| Rhino + pDOM (Clue browser) | Images load, but the script cannot tell when loading completes |
| WebTV | Images load, but the script cannot tell when loading completes |
| Tkhtml Hv3+ | Images do not preload |
| Netgem NetBox | Not tested but it should work |
| OpenTV | Not tested but it should work |
| iPanel MicroBrowser | Not tested but it should work |
Accessibility notes
No inherent accessibility problems. Images will not be cached if JavaScript is disabled. Just make sure that without JavaScript, the URL still loads; <a href="theURL.html" onclick="doCache();return false;">
License
Please see my terms and conditions page for terms and conditions of use.
Download
Demonstration/instructions
View syntax highlighted source