PDA

View Full Version : Accordion Menu Issues



ventanger
04-15-2012, 09:46 PM
1) Script Title: Accordion Menu Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm

3) Describe problem: Upon implementing the code in a side menu here (http://www.theoddlist.com/demo/) but when I add two sample submenus to each entry "value" and "value2" instead of them showing underneath each menu when I click them, only one shows underneath a menu somewhere above the one I clicked.

ddadmin
04-16-2012, 05:05 PM
Looking at the HTML for each of your header/content combo:


<div class='arrowlistmenu'><h3 class='menuheader expandable'><a href='http://www.theoddlist.com/demo/index.php?option=com_aclsfstd&Itemid=499&md=browse&ct=al'>Alabama</a></h3><ul class='categoryitems'><li></li><li><a href='http://www.theoddlist.com/demo/index.php?option=com_aclsfstd&Itemid=499&md=browse&ct=al'> View All</a></li></ul>

within your UL (which is the content portion), there are two LIs, though only the second one contains any data, so only "View All" is visible when you expand the UL content...