[thelist] DOM Help

Chris Heilmann lists at onlinetools.org
Thu Feb 3 11:33:51 CST 2005

> Tony,
> Firstly, it might help to look in the archives. I have been surprised
> how many times this topic has come up lately. I feel like I'm pimping
> my solution to no end...
> http://mwarden.f2o.org/sandbox/collapsible_elements.htm

This one assumes that there is only one class in the collapsible element,
though, and elements can have more than one class.

Another point to be aware of is that display:block and display:none are
very easy and understandable, but also hide content from assistive

Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/

More information about the thelist mailing list