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?
Multiple copies of One image
Moderator: General Moderators
- llanitedave
- Forum Commoner
- Posts: 78
- Joined: Thu Jan 15, 2004 11:24 am
- Location: Las Vegas, NV.
- llanitedave
- Forum Commoner
- Posts: 78
- Joined: Thu Jan 15, 2004 11:24 am
- Location: Las Vegas, NV.
- llanitedave
- Forum Commoner
- Posts: 78
- Joined: Thu Jan 15, 2004 11:24 am
- Location: Las Vegas, NV.
Well, can't use PHP for that particular project, since it's just supposed to be a javascript function. But ie and mozilla is good enough -- hopefully that means Safari too. I'll use it if I can't do it any other way. I was hoping to stick to a standards-only implementation, though.
OK -- what about the cloneNode method?
OK -- what about the cloneNode method?