PDA

View Full Version : Drop down Menu's


ragol_67
06-09-2006, 05:31 PM
I am trying to organize the policies on our site a little better, and I thought it would be cool to have them all on one page. But that wouldn't look very organized if it was just one page full of a whole bunch of text. So I thought that it would be even cooler to have them as drop down menus.. sort of like so...


POLICY ONE

POLICY TWO

POLICY THREE

and when the user clicks on one of the policies, it drops down from underneath the heading. Then when they click on the heading again, the text disapears back up into the heading.


My dilema though, is that I don't know what this would be called, or where I could find a free script I could jack off someone else.

If someone could please help me out, that would be great.


Thanks,
Nick!

ghell
06-09-2006, 05:34 PM
submit the form to an asp page and use Request.Form (with post) or Request.QueryString (with get) to determine which to show.. then show it.

Or just write 3 divs and switch which one has display none and which has display block with javascript.

or just have the 3 pieces of text in javascript variables and switch the text of a div via the dropdown.

ragol_67
06-09-2006, 06:20 PM
Oh sweet. Thanks dude, got it figured! :D


Thanks,
Nick!

ghell
06-09-2006, 10:00 PM
Nice one, its always good when someone can work something out for themselves :thumbsup: