pull down menu to open new window? - pull down menu to open new window?

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

Something like this should work. Change the urls and the titles to go with your site:

<form name="guideform">
<select name="guidelinks" onChange="window.open(document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value,'newwin','width=300,height=200');">
<!-- Make sure all of the select tag goes on one line -->
<OPTION SELECTED value=page1.htm">Page 1
<OPTION SELECTED value=page2.htm">Page 2
</select>
</form>

----------
John Pollock
http://www.pageresource.com

They have: 12 posts

Joined: Apr 1999

I have the codes for a pull down menu and the codes to open a new window but do not know how to put them together.
Thanks for any help
Kimberly

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.