PDA

View Full Version : Image Loading


slyfox2099
10-05-2002, 05:38 AM
How do I go about stopping the broken image from showing up in a popup window before an image is loaded?:confused:

ASAAKI
10-05-2002, 11:18 AM
i'm not sure this'll fix it, but u cud try preloading the image. that means u'll have to declare the picture as a variable in a body onload script, something like this:

var img1 = new Image()
img1.src="the_path_of_your_image.gif"