Creating a Menu Option That's Also a Link
I took a course on HTML about 5-6 years ago, hardly used it after I had taken it. But now I am trying to create a website where on the first page you have to choose a state from a drop down menu and then the next page would be another drop down menu with a list of towns in the respective state. I've tried , placed it everywhere with in other tags, before and after it, before and after it. I just can't get the states to come up in the drop down menu as links. Any suggestions would be greatly appreciated.
timjpriebe posted this at 12:25 — 20th October 2006.
He has: 2,667 posts
Joined: Dec 2004
It turns out it's actually not that simple. You'll actually need to employ a little scripting, one way or another.
If you're going with Javascript, you may be able to use this to generate what you're looking for. I used it many years ago and it worked fine for what you're talking about.
http://javascript.internet.com/generators/drop-down-menu.html
Tim
http://www.tandswebdesign.com
title1ted posted this at 21:47 — 20th October 2006.
He has: 3 posts
Joined: Oct 2006
Thanks timjpriebe. The site to the java script generator made the solution quick and easy. Great advice. Thanks again.
-title1ted
jbladeus posted this at 00:54 — 21st October 2006.
They have: 32 posts
Joined: Oct 2006
hi t1t
keep in mind that links in javascript menus cannot be spidered by search engines. For that, you need a combination of css and html.
title1ted posted this at 01:13 — 21st October 2006.
He has: 3 posts
Joined: Oct 2006
how do I create a drop down menu where the selected item links to another page using a combonation of CSS and HTML? I appreciate the input.
-title1ted
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.