Hi John,
So you want to "post" the name of the skin when people selects something in the dropdown menu? Please put this javascript in the <head>:
Code:
<script type="text/javascript" language="JavaScript">
function changeSkin( selectObj) {
if( selectObj.options[ selectObj.selectedIndex ].value.length > 2) {
selectObj.form.submit();
}
}
</script>
And change the <form> code to:
Code:
<form method="post">
<select NAME="setskin" onchange="changeSkin(this);">
<option VALUE="">Choose Skin</option>
<option VALUE="blackout">Halloween Blackout</option>
<option VALUE="violet">Violet Demise</option>
</select>
</form>
HTH~
(Edit: made slight adjustments to the code, ripped out "style" in the select tag so the code doesn't make you scroll horizontally.)
Bookmarks