driveflexfuel
New Member
- Messages
- 159
- Reaction score
- 0
- Points
- 0
I am looking to use the code below on my website but I have not been able to figure out how to open the links in a new window. I do not mind if I have to use another language. If anyone can help me out I would highly appreciated.
Thanks
Thanks
Code:
<form action="" id="sites">
<select name="sites" onchange='top.location.href=this.form.sites.options[this.form.sites.selectedIndex].value'>
<option value="#">Select the site</option>
<option value="http://www.website1.com">website1</option>
<option value="http://www.website2.com">website2</option>
<option value="http://www.website3.com">website3</option>
</select>
</form>
Last edited: