Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2002
    Location
    Manchester, England
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript Navigation Problem

    I am currently building a website that need 2 Javascript Drop-Down Navigation bars.
    The reason it needs 2 is that there are so many main links that they just won't fit onto one line.

    I have named them both different and each has 2 scripts.
    The first scripts are named - mmenu.js and menu_array.js
    The other menu scripts are named - mmenu1.js and menu_array1.js

    The codes for them on the web page are inside the head and like this:

    <SCRIPT language=JavaScript src="scripts/menu_array.js"
    type=text/javascript></SCRIPT>

    <SCRIPT language=JavaScript src="scripts/mmenu.js"
    type=text/javascript></SCRIPT>

    <SCRIPT language=JavaScript src="scripts/menu_array1.js"
    type=text/javascript></SCRIPT>

    <SCRIPT language=JavaScript src="scripts/mmenu1.js"
    type=text/javascript></SCRIPT>

    When I test them in both I.E & Firefox browsers I get the error message:

    Stack Overflow At Line: 487
    There is no line 487.

    Can anyone tell me what this means and how I can put both menu bars onto the same page?

    I have uploaded the script in a ZIP file. If anyone needs to see the codes.

    All help much appreciated.
    Attached Files Attached Files

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    That's not how you use multiple menus on the same page. Did you visit their support page? They have a help page on adding multiple menus on a page. They even have the Menu Discussion Forum.
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

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