Here's a script we can use if we need to hide / show anything, e.g. form fields. This specific code will just hide any elements with class "secondary". Most of it is written by me (
CC licensed, but I can change it if necessary); the
addEvent part is LGPL licensed. Copied verbatim from my CV :) It works (with XHTML 1.1, should work for HTML) in at least Firefox 2, Opera 9, and IE6 (haven't tested any others).
var fullTitle = "Display the full contents of the CV"; var minTitle = "Display shorter CV";