Pop up menu confusion

They have: 34 posts

Joined: Jan 2001

Hi all,
I'm doing a couple of Javascript pop up menus to navigate around a little mini site I'm doing. I can get one menu working and the other seperately, but they don't seem to like it when they are on the same page (only 1 will work).

Anyone know what I'm doing wrong?
The script I'm using is...

The other is a tables menu and I just replaced the word info for tables on that section of script.

Thanks
Jo Smiling

1st's picture

They have: 58 posts

Joined: Mar 2001

location.href= document.info.menu.options["document.info.menu.selectedIndex"].

Try this if above does not work

No //-->

yes // -->

I think that is the problem. you need a space between the
// -->

They have: 34 posts

Joined: Jan 2001

Thanks for ure suggestion.

Sad I tried (sniff), but (sniff) it still didn't work (sniff).

Any other ideas?

Thanks(sniff),
Jo

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

Do you have a URL where this is posted? It will help us see what may be causing the problem more easily. Smiling

They have: 34 posts

Joined: Jan 2001

Hi all,

Thanks for your help, but I've done it! I just scrapped it and started over with a different approach and now its looking good, and more importantly...it works!

Cheers

Jo Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.