Drop Down Navigation Windows?

liunx

Guest
Ok i know how to make a basic html Form drop down navigation menu with a "go" button, but....I want the webpages to load into a new window. Is that posable?:confused:<!--content-->Yes it is possible. Here is an example that uses the onChange event in the select tag to kick off the JavaScript function rather than a "go" button.<br />
<html><br />
<head> <br />
<title>Drop Down Test</title><br />
<script language="javascript"><br />
function LinkUp(obj) <br />
{<br />
linkid=obj.options[obj.selectedIndex].value<br />
NewWin=window.open(linkid,"win1",config="width=200,height=250,location=no,status=no,directories=no,toolbar=no,scrollbars=no,menubar=no,resiza ble=no,top=30,left=30")<br />
}<br />
<br />
</script><br />
</head><br />
<body bgcolor="lightgreen"><br />
<form name="DropDown"><br />
<select name="DDlinks" onchange="LinkUp(this)"><br />
<option selected>Choose a Link<br />
<option value="http://www.htmlgoodies.com"> HTML Goodies</option><br />
<option value="http://www.wsabstract.com"> Website Abstraction</option><br />
<option value="http://www.requestcode.com"> Request Code</option><br />
</select><br />
</form><br />
</body><br />
</html><!--content-->
 
Back
Top