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 ******************************************************