Image preload
| Version | : | 1.0 |
| License | : | GPL |
| Status | : | stable |
Documentation
Features:
preload.js loads an image into the cache of the browser, before it's needed. This is usefull for image galleries or links with hover effect. A tiny script, which works as it should.
Usage:
Read first "Free PHP- & Javascripts -> Using the scripts". The call of the function should happen at the end of a page. It looks like this:
<script language="Javascript">
preload('ImageURL1');
preload('ImageURL2');
preload('ImageURL...');
...
</script>