View Full Version : Drop-down menu


EmilyStar
10-24-2003, 01:54 AM
I am using it, but I can't get it to work, and I can't figure out what I did wrong. I copied it exactly from the way it is shown on this website, except that obviously I changed the links, and I also added two more options.

But for some reason, clicking on the Go button seems to do nothing.

Do you have any idea why it might not be working?

kittycat
10-24-2003, 02:47 AM
Could you post your code or a link to the page in question? It could be some small detail that you've missed.

EmilyStar
10-24-2003, 03:37 AM
<form name="gotolocation1" method="POST" ACTION=URI>
<select name="lissamenu1">
<option value="http://www.thesimsII.co.uk">Visit our affiliates!</option>
<option value="http://www.sims2center.com">Sims 2 Center</option>
<option value="http://www.twisted-dreams.net/thesims2/">The Sims 2 (Twisted Dreams)</option>
<option value="http://wakaba.nu/sims2/">1+1 A Sims 2 Fansite</option>
<option value="http://geocities.com/simsstash/">The Sim's Stash</option>
<option value="http://www.thesims2resource.com">The Sims 2 Resource</option>
</select>
<input type="button" onClick="location =
document.gotolocation1.lissamenu1.options
[document.gotolocation1.lissamenu1.selectedIndex].value;"
value="Go">
</form>

Here is the page: http://thesimsII.co.uk

kittycat
10-24-2003, 09:47 PM
I looked at the page, it doesn't have the same code for the go button. Replace your current code with the code you posted here and see what happens.

EmilyStar
10-24-2003, 10:11 PM
Thanks for having a look!

I copied and pasted the code directly from what I used at the group, I can't imagine why it isn't working now.:(

Loren
10-24-2003, 10:25 PM
Your go button has a differnet code.
It should be:
<input type="button" onClick="location =
document.gotolocation1.lissamenu1.options
[document.gotolocation1.lissamenu1.selectedIndex].value;"
value="Go">
Like you posted but on the site it is:
<input type="button" value="Go">

EmilyStar
10-24-2003, 10:35 PM
Thanks for your help.

In the box where you post the HTML code for the group's front page, I posted exactly that. What I have there already is just the same as what I posted here, and what Loren just told me.:(

So I'm thinking, that Yahoo! Groups must have some kind of problem, or messed it up in some weird way. *shrugs* It says it can do HTML code in the description, and the other stuff works okay. Maybe it just has a problem with what I'm using.

Thanks anyway for all your help! :D

Loren
10-24-2003, 10:48 PM
I thought mabey you had just recopied the code for the selecting and hadn't recopied the code for the go button.

EmilyStar
10-24-2003, 11:23 PM
*shrugs* Well, I will keep trying.
But I think maybe I will go back to my original method, of posting 88x31 buttons for my affiliates.

Thanks for your help!:)