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

Christian Heilmann codepo8 at gmail.com
Fri Jun 30 09:31:44 CDT 2006


> > "That is a very cumbersome approach. I normally tend just to apply a
> > class to the UL when the page is ready that hides all the LIs...
> > .dynamic ul li(display:none;)
> > If you do that, and javascript is off and css on, then the tree remains collapsed,
> > and it becomes obtrusive, isn't it ?

Nopes: http://www.wait-till-i.com/index.php?p=257
-- 
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/



More information about the thelist mailing list