Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

Help with drop down menu

Status
Not open for further replies.
Joined
May 10, 2007
Posts
1,990
Reaction score
303
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.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Featured Services

Sedo - it.com Premiums

IT.com

Premium Members

AucDom
UKBackorder
Register for the auction
Acorn Domains Merch
MariaBuy Marketplace

New Threads

Domain Forum Friends

Other domain-related communities we can recommend.

Our Mods' Businesses

Perfect
Service
Laskos
*the exceptional businesses of our esteemed moderators
Top Bottom