Solved

Use a <SELECT> to go to another page

Posted on 1999-01-20
3
185 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

821 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