Here is the code:
The code above assumes that the images are located in the same directory as the HTML file. If the images are placed in another directory, use relative URLs for the images in the preloader script as well for passing arguments to the rollover function.
At a later time, Tim Berners-Lee, the inventor of the World Wide Web, remarked that he should have used slashes throughout the URL instead of dots (period signs) in the domain name. I wonder what would have happened to the file name and the extension? Would he have replaced the dot with the slash in it too? [more...]