Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Wanted: Service Help with drop down menu

Status
Not open for further replies.
Joined
May 10, 2007
Posts
1,972
Reaction score
288
Hi,

Here is some code that I'm using:

_____________
<html>
<head>
<title>test</title>

<script language="JavaScript">
<!--
function WinOpen() {
var url=document.redirect.selection.value
document.location.href=url

}

// -->
</script>


</head>
<body>

<form name="redirect">
<select name="selection">
<option value="http://www.google.co.uk">Google</option>
<option value="http://www.yahoo.co.uk">Yahoo</option>
</select>
<input type=button value="Go!" onClick="WinOpen();">
</form>

</body>
</html>
____________

It works fine, but I want to use an image for the button.

When I try and do this, I seem to break it!

Please help ;)

Thanks
 
Last edited:
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.
      Helmuts @ HelmutsHelmuts is verified member.: Good morning all
      Top Bottom