aaronlyon
02-13-2009, 12:15 AM
1) Script Title: ddaccordion
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-urban.htm
3) Describe problem:
This trouble has to do with some menu items having subitems, and some without. IF I place all the items WITH subitems at the top of the list, it works fine: each submenu opens correctly on mouseover. Example:
<h3 class="headerbar subicon"><a href="overview.php">Program Overview</a></h3>
<ul class="submenu">
<li><a href="overview.php#1">New Hire</a></li>
<li><a href="overview.php#2">Account & Partner Business Manager</a></li>
</ul>
<h3 class="headerbar subicon"><a href="training.php">Sales Training</a></h3>
<ul class="submenu">
<li><a href="training.php#1">eLearning</a></li>
<li><a href="training.php#2">Team session slides</a></li>
</ul>
<h3 class="headerbar"><a href="field_assignments.php">Field Assignments</a></h3>
<h3 class="headerbar"><a href="index.php">Home</a></h3>
BUT if I put any of the menu items WITHOUT subitems higher in the list, this causes the wrong menu item to open when I mouseover menu items. Example:
<h3 class="headerbar"><a href="index.php">Home</a></h3>
<h3 class="headerbar subicon"><a href="overview.php">Program Overview</a></h3>
<ul class="submenu">
<li><a href="overview.php#1">New Hire</a></li>
<li><a href="overview.php#2">Account & Partner Business Manager</a></li>
</ul>
<h3 class="headerbar subicon"><a href="training.php">Sales Training</a></h3>
<ul class="submenu">
<li><a href="training.php#1">eLearning</a></li>
<li><a href="training.php#2">Team session slides</a></li>
</ul>
<h3 class="headerbar"><a href="field_assignments.php">Field Assignments</a></h3>
In this example, when I mouseover the "Home" item, the next item, "Program Overview" drops open. This is bad! How do I fix?
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-urban.htm
3) Describe problem:
This trouble has to do with some menu items having subitems, and some without. IF I place all the items WITH subitems at the top of the list, it works fine: each submenu opens correctly on mouseover. Example:
<h3 class="headerbar subicon"><a href="overview.php">Program Overview</a></h3>
<ul class="submenu">
<li><a href="overview.php#1">New Hire</a></li>
<li><a href="overview.php#2">Account & Partner Business Manager</a></li>
</ul>
<h3 class="headerbar subicon"><a href="training.php">Sales Training</a></h3>
<ul class="submenu">
<li><a href="training.php#1">eLearning</a></li>
<li><a href="training.php#2">Team session slides</a></li>
</ul>
<h3 class="headerbar"><a href="field_assignments.php">Field Assignments</a></h3>
<h3 class="headerbar"><a href="index.php">Home</a></h3>
BUT if I put any of the menu items WITHOUT subitems higher in the list, this causes the wrong menu item to open when I mouseover menu items. Example:
<h3 class="headerbar"><a href="index.php">Home</a></h3>
<h3 class="headerbar subicon"><a href="overview.php">Program Overview</a></h3>
<ul class="submenu">
<li><a href="overview.php#1">New Hire</a></li>
<li><a href="overview.php#2">Account & Partner Business Manager</a></li>
</ul>
<h3 class="headerbar subicon"><a href="training.php">Sales Training</a></h3>
<ul class="submenu">
<li><a href="training.php#1">eLearning</a></li>
<li><a href="training.php#2">Team session slides</a></li>
</ul>
<h3 class="headerbar"><a href="field_assignments.php">Field Assignments</a></h3>
In this example, when I mouseover the "Home" item, the next item, "Program Overview" drops open. This is bad! How do I fix?