Nice work Thierry.
I'm going to add this one to the library.

I know there are plenty of hide/show examples out there. This one has a nice
combination of clean code and attention to accessibility.
Ted


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Thierry Koblentz
Sent: Wednesday, February 01, 2006 9:58 AM
To: wsg@webstandardsgroup.org
Subject: [WSG] Article: DL + DOM = "cool" FAQ page

The advantages of this solution:
- It uses semantic markup.
- It degrades nicely (hidden elements are visible in script-disabled
UAs).
- DTs do not appear as links without script support.
- It does not use inline event attribute (onclick()).
- It does not require "A" elements in the markup.
- It is screen-readers "friendly".
- It is IE Mac compatible.
- It relies on one single hook.

http://www.tjkdesign.com/articles/toggle_elements.asp

Please report errors/problems/etc..

Regards,
Thierry | www.TJKDesign.com
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to