[thelist] javascript replacement for :hover?

Lee kowalkowski lee.kowalkowski at googlemail.com
Wed Jan 10 10:30:12 CST 2007


On 10/01/07, Barney Carroll <barney at textmatters.com> wrote:
> 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

Take a look at http://www.xs4all.nl/~peterned/csshover.html or
research general topic at
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/behaviors/overview.asp.

-- 
Lee



More information about the thelist mailing list