I am creating a drop down menu with an ok (image) button. I have all that working and it works fine. My issue is that I am wanting it to go to an iframe. Here is the coding with valid address in it that i am using. Can someone see where I am messing up?
<html>
<head>
<title>Dropdown Additional Links</title>
</head>
<body>
<!-- **********OPTION LIST********** -->
<form name="hop">
<select name="choose">
<option selected>Choose One</option>
<option value="http://mousetrax.com" target="site">Mousetrax</option>
<option value="http://yahoo.com" target="site">Yahoo</option>
<option value="http://microsoft.com">Microsoft</option>
<option value="http://personal-computer-tutor.com">Linda's Computer Stop</option>
<option value="http://personal-computer-tutor.com/abc">ABC Newsletter</option>
</select>
<input type="image" src="go.png" width="20px" height="20px" onClick="location=document.hop.choose.options
[document.hop.choose.selectedIndex].value;" value="GO!">
</form>
<iframe id="main" name="site" frameborder="2" width="100%" height="610px" src="images/logo.htm"></iframe>
</body>
</html>



Reply With Quote

Bookmarks