Best Practices For Clicking To Expand Text

Hi,
The goal is to present a simple document with pieces of expandable text or pieces of text that the reader can show or hide. I was thinking of making a simple JavaScript function that can swap CSS classes that would show or hide text on the ID of the element I feed it. When you click the piece of text before the text in question, it either shows the text, if the css for that element has the hide class, or hides the piece of text if it has the show class. Is this a good or bad thing to try? If not, what is a good way to do something like this that is relatively simple to implement?

Thanks.

Jim


________________________________

This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.

Received on Monday, 6 May 2013 15:18:59 UTC