PDA

View Full Version : Clickable drop down box.



blundersen
Mar 29th, 2007, 10:57 PM
I'm trying to make a site utilize drop down boxes that work at the click of a button like the spoiler boxes on other message boards.

Is there a script that I can run that will allow me to do anything of this sort where the user can click on a lined item and have more lines drop down below, then when they click again, the information will disappear?

twodayslate
Mar 29th, 2007, 11:24 PM
I believe that would involve javascript.

These are about the digg comments but they will do fine and they have a nice animation.
http://firblitz.com/2007/3/6/re-how-to-create-digg-comment-style-sliding-divs-with-javascript-and-css
http://www.harrymaugans.com/2007/03/05/how-to-create-a-collapsible-div-with-javascript-and-css/
http://www.harrymaugans.com/2007/03/06/how-to-create-an-animated-sliding-collapsible-div-with-javascript-and-css/

blundersen
Mar 30th, 2007, 02:19 AM
That's exactly what I needed. Thanks a ton!:thumbsup:

Now if only I could get it to work...

twodayslate
Mar 30th, 2007, 02:35 AM
That's exactly what I needed. Thanks a ton!:thumbsup:

Now if only I could get it to work...
ha ha, sorry can't help you with that! :o

--> Mods please move to javascript forum.