dropdown menu from select box

kinkkink serious memberVPS - Virtual Prince of the Server
here it is free to use. its just a select box

<script type="text/javascript">
function afunction()
{


var p = document.w.g.value;

if(p == 1)window.open("http://devdreams.com";);
if(p == 2)window.open("http://devdreams.com";);
if(p == 3)window.open("http://devdreams.com";);
if(p == 4)window.open("http://devdreams.com";);
if(p == 5)window.open("http://devdreams.com";);
}
</script>

<style type="text/css">
select { font-family: castellar; font-style: italic; font-variant: small-caps; font-weight: bold; font-size: 25px; letter-spacing: 2px; text-align: justify; vertical-align: center; color: ffccaa; background-color: 000000; margin: 2px; padding: 3px; border-width: 4px; border-color: aaddaa; border-style: ridge; display: block; width: 240px; }
</style>



then in body

<form name="w">
<select name="g" onChange="afunction()">

<option value="0">NAVIGATE
<option value="1">" DEV DREAMS "
<option value="2">" DEV DREAMS "
<option value="3">" DEV DREAMS "
<option value="4">" DEV DREAMS "
<option value="5">' DEV DREAMS "

</select>


</form>

Comments

Sign In or Register to comment.