Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 drop down menus = one page 1

Status
Not open for further replies.

melstef

Programmer
Feb 19, 2003
69
CA
Hello, I'm looking for a script that does some kind of form.. I'm new at this...
What I need is 2 drop down menus. The person need to choose from each drop down menu and when he does, he will be transfered to a page.
ex. the person select "fire" from the first one and "safety education" from the second one.
when both are selected, he press a button "go" and is transfered to the fire & safety product page...

Is there something easy for me and descriptive please.
thank you for your time..
 
I'm not sure why you posted this here. On the surface your question is just basic HTML. Are you trying to generate the lists dynamically from a database or something?
 
Well if this is only basic html, how do I do this.. I haven't figured it out yet.I've been learning by myself so I don't have all the necessary information.
thanks
 
Thank you I found what I was looking for in javascriptkit.com
Is it possible to have a double drop down menu with a third or forth drop down menu that are optional??
thanks
 
Yes it is, but it's unlikely you will find the exact code for that. you will probably need to modify the codes that you have.
Do a search for a double drop down where the second drop down is first hidden, I've seen this script on one of the main javascript sites so you should find it easy enough. All you'll need to do is combine the scripts that you have with the 'new' script.
The guys n' gals in the javascript forum will be able to help you further.


É ::
 
Hello cian, thank you for the help, it is working fine. I was wondering if you knew how to make half a space?? The 2 box have too much space between them if I do <br><br> but not enough with one <br>. DO you know how to make 1-1/2 <br>.
thank you
 
Hi Melstef

If you are trying to increase the space when one drop down list is above the other try using <p> instead of <br>...although this may not make a big difference. Or if you are trying to increase the space when each drop down list is either side of each other try using &nbsp

If this doesn't answer your question you can always align everything in a table.

Hope this helps.

Matt
 
The '& nbsp' didnt come out in my last message (was meant to go after the words &quot;try using...&quot;). There is no space between the & and nbsp.
 
Thank you for your help.. Someone told me to use an image and it work perfertly.. I keep your tips for the next time.
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top