I am developing a website which requires the background image of a div to change on hover of a link.
The way it works is by:
pretty simple to preload images, something like:
var img = new Image(); img.src = "/path/to/image.jpg";
This could be in a window.load or dom:ready event somewhere