Originally Posted by White Rose
|
Hi,
I would like to create a list on a website with hidden short paragraph of description for each items. Once the web visitor clicks on one of these items, the paragraph then would appear below it. I hope I'm making any sense? 
Problem is - I don't know how to do that. Does anyone?
Brenda
|
Hi Brenda,
Not sure if this would work for you, but you might try this:
http://www.dynamicdrive.com/dynamici...pdownpanel.htm It gives you all the code and has pretty good instructions. It includes the HTML, CSS and JavaScript for you and tells you where to put it all. You could mess around with the width, etc. (but not the JavaScript unless you know what you are doing).
And where it says this:
</div>
<div id="mypaneltab" class="ddpaneltab">
<a href="#"><span>
Toggle</span></a>
</div>
</div>
You could change "Toggle" to be whatever you want.
Dynamic Drive always has some pretty cool stuff.
Oh! And there is also MooTools, which has a pretty neat accordion dropdown that you could use your own graphic and text, etc. instead of theirs:
http://mootorial.com/wiki/mootorial/...e/04-accordion
HTH a bit,