my java script
N = new Image()
N.src ="imagename.jpg"
how can I detect when this image is done downloading?
I want to download all the images for a page before opening the page.
or how can I tell when a document is done downloading
Thanks
Printable View
my java script
N = new Image()
N.src ="imagename.jpg"
how can I detect when this image is done downloading?
I want to download all the images for a page before opening the page.
or how can I tell when a document is done downloading
Thanks
The onLoad() event will only fire when the whole page is done loading.
any ideas on a single image?