DHTML show/hide content
Click on the headings below
- How does this work ?
This is done by use of <divs> and altering the css attribute "display"
- Where can I find this script?
You can find this and alot of other scripts at www.dhtmlgoodies.com.
- Is it easy to implement?
Yes it is, the only thing you have to do is to put some lines of CSS and Javascript into your <HEAD> section.
Then, you define your questions and answers easily like this:
<div id="q2" class="question">What's your name?</div>
<div id="a2" class="answer">My name is John Doe.</div>