View Full Version : Opening Select List in New Window

Nov 23rd, 2003, 07:57 AM
Just some help please.
I've got a dropdown list thing with links in it as it saves space. This list is embedded within a div which is inside a frame. Now when the value changes from "..links.." I wanted to open the new value in a new window.

This is what code I have...

<div id="footer">
<form name="links" class="link">
<select size="1" name="www" onchange="link()" value="GO" target="_blank">
<option selected>..links..</option>
<option value="http://m3rlin.ws/bloodbone/redir.php?st=m3rlin">m3rlin.et2k</option>
<option value="http://m3rlin.ws/bloodbone/redir.php?st=nerd">nerdtech.tk</option>
<option value="http://m3rlin.ws/bloodbone/redir.php?st=rachel">vermin</option>

and then my javascript stylesheet,

function link()

It's opening in the frame and not in a new window
:( Help appreciated

Nov 23rd, 2003, 09:48 PM
1) Click on 'search' (above)
2) Type in 'select drop-down new window'
3) Read

Nov 24th, 2003, 11:57 AM
thanks adios! next time I wont' be so lazy:(