PDA

View Full Version : All Levels Navigational Menu (v1.4) - Path Issue?



situationism
09-16-2008, 11:43 PM
1) Script Title: All Levels Navigational Menu (v1.4)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/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

ddadmin
09-17-2008, 12:49 AM
I think you forgot to post the link to the problem page. :)

situationism
09-17-2008, 02:37 PM
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/

ddadmin
09-17-2008, 06:22 PM
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:


<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>