Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Thanked 0 Times in 0 Posts

    Multiple Expanding Menus

    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/navig...ding-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!!!!!

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Thanked 2,224 Times in 2,211 Posts
    We can't have the same value of id for more than one element in a document. It's not valid.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts