View Single Post
Old 16-06-2004, 09:30   #5 (permalink)
Bill Posters
trouble free and loverlee
 
Join Date: Mar 2003
Location: YooKay
Posts: 2,967
Quote:
Originally Posted by i_am_cam
Preloading an image in javascript can be useful if you're using one image several times on a page, as if it doesn't load you'd be left with a lot of horrible red-X's (or whatever). Preloading solves this problem by ensuring the image is loaded.
Fwiw…
'Being left with a lot of horrible red Xs' means that the image(s) cannot be found at the src location used in the <img> tag(s) and preloading them won't fix that.
  Reply With Quote