Re: Drop Down menu with hyperlinks

From: Jon Spivey (jons_at_mvps.org)
Date: 11/23/04


Date: Tue, 23 Nov 2004 00:05:54 -0000

Hi,
Make up your dropdown with links so it looks like this
<select name="links">
<option value="http://site1.com">Go To Site 1</option>
<option value="http://site2.com">Go To Site 2</option>
etc
and then add a button like this
<input type="button"
onclick="window.open(this.form.links[this.form.links.options.selectedIndex].value);"
value="Go To Site">

Make sure the drop down and button are between form tags

-- 
Cheers,
Jon
Microsoft MVP
"Randy" <Randy@discussions.microsoft.com> wrote in message 
news:2EC2F311-03C3-486F-A91C-556740483B0F@microsoft.com...
>I need to put a 'drop-down' menu on my website. You know, the kind that has
> choices and then you select 'go'.
> I have found scripts that will allow me to do this, but I need them
> hyperlinked to open in a new window. I am using FP2003. Any help or
> suggestions is appreciated!