PDA

View Full Version : Script: DDLevelsMenu - Help!



dstx
09-02-2008, 12:20 PM
1) Script Title: DD LevelsMenu

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

3) Describe problem:
after installing files as is for test,

- does not display like sample;
- arrow images don't show;
- submenus stick and do not disappear when mouse out
- 2nd and 3rd level submenus split from last item of 1st level submenu and appear down towards bottom of page;

See sample: http://orth-transfiguration.org/aboutA/
-mouseover "programsA" then scroll to bottom of page;
-mouseover 2nd level submenu box and 3rd level will appear lower on page

rangana
09-02-2008, 02:55 PM
It looks to me that you have your li elements not properly nested. Try this one in replacement of yours:


<ul id="ddsubmenuside1" class="ddsubmenustyle blackwhite">
<li><a href="../programs/day/">day</a></li>
<li><a href="../programs/virtues">virtues</a>
<ul>
<li><a href="../programs/virtues/invitation/">invitation</a></li>
</ul>
</li>
<li><a href="../programs/wilderness/">wilderness</a>
<ul>
<li><a href="../programs/wilderness/nature/">nature</a></li>
</ul>
</li>
<li><a href="../information/">information</a>
<ul>
<li><a href="../information/fellowship/">fellowship</a></li>
<li><a href="../information/reports/">reports</a>
<ul>
<li><a href="../information/reports/conference/">conference</a></li>
<li><a href="../information/reports/wilderness/">wilderness</a>
<ul>
<li><a href="../information/reports/wilderness/WA_05/">WA_05</a></li>
<li><a href="../information/reports/wilderness/CA_05">CA_05</a></li>

<li><a href="../information/reports/wilderness/MA_05/">MA_05</a></li>
<li><a href="../information/reports/wilderness/NY_07/">NY_07</a></li>
</ul>
</li>
<li><a href="../information/reports/initiative/">initiative</a>
<ul>
<li><a href="../information/reports/initiative/solar/">solar</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="../information/christianity/">christianity</a></li>
<li><a href="../information/news/">news</a></li>
<li><a href="../information/sites/">sites</a></li>

</ul>


See if it helps.

ddadmin
09-03-2008, 06:28 AM
Regarding the images not showing up, try changing the file paths to them inside the script to absolute:


downarrowpointer: ["http://orth-transfiguration.org/ddlevelsfiles/arrow-down.gif", 11,7], //path to "down arrow" image that gets added to main menu items (last 2 parameters should be width/height of img)
rightarrowpointer: ["http://orth-transfiguration.org/ddlevelsfiles/arrow-right.gif", 12,12], //path to "right arrow" image that gets added to LI elements within drop down menu containing additional menus