Doctype Hellp
- Started
- Last post
- 4 Responses
- kodap
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN
I can't validate properly this xhtml doc with the attribute "onLoad " inside body tag
as well as "onMouseOver" inside the < a > tag
anyone knows any replacement for these?
I tried searching, but I couldn't find the right keywords..
- unfittoprint0
recently I started giving onload, onmouseovers and outs dinamically with javascript [seems to be final phase of content and style/script separation...]
anyways
you can make your js function and then add an eventlistener to the load event.
in the same way, you can target a div's id and all the images within to add your mouseover/out events:
http://www.quirksmode.org/js/mou…
- kodap0
oh silly me.. it was the Capitals L, M and O
on»Load
on»Mouse»Out
- kodap0
should be onload
instead of onLoad
- kodap0
XHTML is all lower-case)