PDA

View Full Version : need help with embedding links



PlagueInfected
01-15-2009, 05:57 AM
I'm currently right now am trying to make my website XHTML 1.0 transitional and the only thing preventing me from meeting W3C standards. and the links with OnMouseOver and OnMouseOut are counted against me as errors.

So I'm trying to figure out how to embed the hyperlinks with the images applied to them as well as they use their rollover images tool.

I currently only have the functions for them too. however I have make an array of the links and it still didn't work for me as I tested the code =/

any ideas would be good, as long as they're in the JS document im happy than W3C's validation will read my code and see there is no OnMouseOver and OnMouseOut.

jscheuer1
01-15-2009, 06:08 AM
Attributes must be lowercase, try:

onmouseover and onmouseout.

PlagueInfected
01-15-2009, 03:42 PM
OMG just that little thing, I thought I had to write a whole script and array for my navigation lol

thanks alot man, that did it.