[thelist] javascript replacement for :hover?

Barney Carroll barney at textmatters.com
Wed Jan 10 10:02:06 CST 2007


Hi guys, wondering if anyone can help me with a javascript problem.

I want to create hover effects on non-link elements (input 
type="button") for IE6 - which it can't do based on css alone. What I'm 
thinking is getting 1 onMouseover and 1 onMouseout function, which both 
modify the CSS style to what the existing CSS has written down as :hover.

Any tips?

Regards,
Barney



More information about the thelist mailing list