[thelist] how to unset a css pseudo-class by javascript ?

VOLKAN ÖZÇELİK volkan.ozcelik at gmail.com
Fri Jun 30 01:39:35 CDT 2006


So I would like to unset a css pseudo-class by javascript in order to
> replace
> a :hover behavior with a onClick event.


Can you extend your argument?

I think you are a bit confused; a:hover is much related to onmouseover event
than onclick event.

So you want to disable the hover pseudo class, then why?
Enabling a hover pseudoclass in a css file is usable, accessible,
standards-compliant, future-proof, etc. etc.

HTH,
-- 
Volkan Ozcelik
+>Yep! I'm blogging! : http://www.volkanozcelik.com/cre8/blog/
+> Going solo in Turkish: http://www.volkanozcelik.com/donkisot/
+> My projects/studies/trials/errors : http://www.sarmal.com/
+> Sardalya JavaScript Library: http://www.sarmal.com/sardalya/



More information about the thelist mailing list