xld
01-18-2007, 09:44 PM
This might sound wierd, but how would I write a script that swaps images, once they are loaded, to another one? For example if I have a couple of images on a page I would like to change to the same image (for example black.gif) once the respective image is loaded, ie on img onLoad. Not on body onload.
Can this be done? Tried it a couple of times but cannot get it to work. Would be nice if you wouldn't have to name each image too..
Anyone know how to do this? Please?
Thanks!
Can this be done? Tried it a couple of times but cannot get it to work. Would be nice if you wouldn't have to name each image too..
Anyone know how to do this? Please?
Thanks!