I am using FrontPage 2000 and I am trying a drop-down
menu containing a list of items and each is attached to a
hyperlink. I made the drop-down menu with a list of
things in there but I can't figure out how to make it so
that when I choose an item from the menu and press
the "submit" button beside it, I'd be able to be linked
to somewhere on the web. Please help.
Thank you very much.

Re: drop-down menu fp 2000 by Steve

Steve
Sun Jun 20 12:17:51 CDT 2004

Requires some javascript, and you really don't need a drop down with a submit button:
Here's an example drop down with the script below it. This will open the other site when a user
selects an option.

<p align="center"><b>Select a Site: </b><select id="setit" onchange="openit()">
<option value="">Select one</option>
<option value="javascript:window.open('http://www.altavista.com')">AltaVista</option>
<option value="javascript:window.open('http://www.yahoo.com')">Yahoo</option>
<option value="javascript:window.open('http://www.google.com')">Google</option>
</select>

<script language="javascript">
function openit(){
eval(setit.options[setit.selectedIndex].value);
}
</script>


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

"MiMoSAgirL" <anonymous@discussions.microsoft.com> wrote in message
news:1eda901c456ae$384dd660$a101280a@phx.gbl...
> I am using FrontPage 2000 and I am trying a drop-down
> menu containing a list of items and each is attached to a
> hyperlink. I made the drop-down menu with a list of
> things in there but I can't figure out how to make it so
> that when I choose an item from the menu and press
> the "submit" button beside it, I'd be able to be linked
> to somewhere on the web. Please help.
> Thank you very much.