Results 1 to 4 of 4

Thread: All Levels Navigational Menu (v1.4) - Path Issue?

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

    Default All Levels Navigational Menu (v1.4) - Path Issue?

    1) Script Title: All Levels Navigational Menu (v1.4)

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

    3) Describe problem: I tried to install this script unmodified and "out-of-box" on my own site. the ddlevelsfiles folder is under the folder where my index.htm file is located. It's unclear whether or not to use absolute or relative paths during configuration...

    It's difficult to explain exactly, but in my installation the main nav-bar shrinks when I click on one of the links. I think it can't find the javascript file because it doesn't thow an error... The CSS looks fine.

    Here's a link to the test page:
    http://www.webfrontier.com/menu_test/

    Thanks for the help in advance.

    - Larry
    Last edited by situationism; 09-17-2008 at 02:35 PM. Reason: Forgot to include link description

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

    Default

    I think you forgot to post the link to the problem page.
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    situationism (09-17-2008)

  4. #3
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks. I left out the URL description. I edited the post to include it.
    BTW, here's the link:
    http://www.webfrontier.com/menu_test/

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

    Default

    I see the problem. You're using the latest version of the menu, which requires that the "rel" attributes inside each main menu item be added inside the A element, not the LI element as you currently have. So:

    Code:
    <div id="ddtopmenubar" class="mattblackmenu">
    <ul>
    <li><a href="http://www.dynamicdrive.com">Home</a></li>
    <li><a href="http://www.dynamicdrive.com/new.htm"  rel="ddsubmenu1">DHTML</a></li>
    <li><a href="http://www.dynamicdrive.com/style/" rel="ddsubmenu2">CSS</a></li>
    <li><a href="http://www.dynamicdrive.com/forums/">Forums</a></li>
    <li><a href="http://tools.dynamicdrive.com/" rel="ddsubmenu3">Web Tools</a></li>
    </ul>
    </div>
    DD Admin

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
  •