View Full Version : value=0 drop down menu


MaGiCSuN
04-12-2003, 03:06 PM
Hi all,

i Did searched the forum and such, but i have no idea how to get it fixed. This is what i got: I have a drop down menu, with "menu" as first option (value=0) and then a space and then 5 options that open up in a pop-up. They work excellent, but the blank option and "menu" also pop-up with a 404. This is not exactly what i want.

I found this thread, about someone that had the same problem:

http://www.lissaexplains.com/forum/showthread.php?threadid=13955&highlight=drop+down+menu+pop+up

he got response with a code to change, but offcourse i can't find this whole code in my code. This is what i use for my drop down menu (pop-up codes are in my <head> tag):

<form>
<select name=lissamenu3 size="1"
onchange="location.href=(form.lissamenu3.options[form.lissamenu3.selectedIndex].value)"
style="font-family: georgia, tahoma; color: #ffffff; background: #818138">

<option value="0">Menu</option>
<option value="0"></option>
<option value="javascript:me()">Mirna</option>
<option value="javascript:you()">Guest</option>
<option value="javascript:site()">Site</option>
<option value="javascript:exit()">Exit</option>
<option value="javascript:gbook()">Gbook</option>

</select>
</form>

how can i make the value=0 options not linking, so that they can click on it without something to happen? Thanks all. Kinda weird question, but it's annoying when you click on a space and you get a 404 everytime :)

Love,
Mirna

Dude128
04-12-2003, 05:20 PM
I believe it's value="#" that does (or doesn't do, rather) what you're looking for :)

MaGiCSuN
04-12-2003, 05:34 PM
You are excellent :) thanks that worked! (or didn't hahah)

Love,
Mirna