Solved

Use a <SELECT> to go to another page

Posted on 1999-01-20
3
155 Views
Last Modified: 2010-04-09
Hello,

How do I use a listbox or combobox (<SELECT>) to go to another page on my web site when the page is highlighted?

Thanks!
0
Comment
Question by:jreilly
  • 2
3 Comments
 
LVL 6

Expert Comment

by:PBall
ID: 1845476
when the page is highlighted? ?:-\ (hmm)

well,
<select name=selMenu onChange='location.href=this.options[this.options.selectedIndex].value'>
<option value='products.htm'>Products Page
<option value='aboutus.htm'>About Us
<option value='/download'>Download Page
<option value='http://yahoo.com'>Search Yahoo
</select>

Yes?
0
 

Author Comment

by:jreilly
ID: 1845477
Excellent!  Thanks for the quick answer.
0
 
LVL 6

Accepted Solution

by:
PBall earned 150 total points
ID: 1845478
Claiming Point :)

0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now