Multiple copies of One image
Posted: Fri Apr 16, 2004 2:18 pm
Another javascript question, this one not related directly to PHP.
I'm trying to use javascript to place multiple copies of the same image on different areas of a page -- lets say a cluster of star icons, or something similar.
The reference I'm using is "JavaScript, the Complete Reference". I can't seem to find quite what I'm looking for there -- I don't want to have to define a separate ID for each image, because I don't necessarily know how many copies I'm going to make.
Has anyone here done something similar? Any hints?
I'm trying to use javascript to place multiple copies of the same image on different areas of a page -- lets say a cluster of star icons, or something similar.
The reference I'm using is "JavaScript, the Complete Reference". I can't seem to find quite what I'm looking for there -- I don't want to have to define a separate ID for each image, because I don't necessarily know how many copies I'm going to make.
Has anyone here done something similar? Any hints?