View Full Version : Multiple Expanding Menus

08-07-2008, 01:38 PM
I'm desperately needing some help with this one. Now I'm only starting to get my head around JavaScript, so I need a guru to shed some light on this problem for me.

I'm using an expanding menu system obtained from http://javascript.internet.com/navigation/expanding-menu.html, which works just fine as it is.

BUT I need 2 menus on the one page and this doesn't work. Here's a test page that I've tried to get working but the second menu just wont work. http://www.six6photography.com.au/test/TEST.html

Here's the link to the external JavaScript file http://www.six6photography.com.au/expandingMenu.js

If anyone can shed some light on this I will be forever GREATFUL!!!!! :thumbsup:

08-07-2008, 02:00 PM
We can't have the same value of id for more than one element in a document. It's not valid.