How can I tell when a CSS background image has loaded? Is an event fired? [duplicate]

You could load the same image using the DOM / a hidden image and bind to the load event on that. The browser’s caching should take care of not loading the image twice, and if the image is already loaded the event should fire immediately… not tested, tough.

Leave a Comment