I already know how to preload an image with Image.onload. But what about preloading a style.background image?
I need this for a game that's going to be preloading sprite sheets for different levels of a DHTML game.
I've had no success figuring out how to get style.background to use an Image object.
So how do I preload a style.background image, only with Javascript.