|
|
Q1229 How can I write image rollovers without using the NAME attribute (HTML 4.0 validators do not like the NAME attribute within an IMG tag)?
irt.org | Knowledge Base | JavaScript | Image | Q1229 [ previous next ] Q1229 How can I write image rollovers without using the NAME attribute (HTML 4.0 validators do not like the NAME attribute within an IMG tag)?You need to find the number of the image on the page starting from 0 and use that instead - here Logo is image number 0 and the first image to mouseover is number one:
Alternatively ignore the validator. |
-- div -->
|