Results 1 to 4 of 4

Thread: error in All Levels Navigational Menu (v2.2)

  1. #1
    Join Date
    Sep 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default error in All Levels Navigational Menu (v2.2)

    1) Script Title: ddlevelsmenu.js

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm

    3) Describe problem:

    When rendering the html-page in which I added the html-code for the "all levels navigational menu" IE reports an error (bottom left corner). The details are:
    Invalid argument
    ddlevelsmenu.js line 347
    Code: 0

    The topmenu bar is properly displayed on my html-page. The submenu's are not displayed when hovered over the menu items.

    Firefox does not report the error, but FF is also not displaying the submenu items.

    I have no knowledge of javascript and therefore I cannot resolve this problem.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Sep 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    THe website on which the problem occurs

    http://www.foretagir.com/test/

  4. #4
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up This should fix your problem

    Your problem is the use of the rel attribute on the Sponsors list item.

    There is no <ul id="submenu4">, and because Javascript cannot find it, it throws an error.

    rel should only be used on those items that are linking to a submenu. By removing rel="submenu4" from the below hyperlink, you should find the problem will go away.

    <li><a href="Sponsors.html" rel="submenu4">Sponsors</a></li>

Bookmarks

Posting Permissions

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