PDA

View Full Version : Accordion Content - header clicks not working right



mlaurenc
11-13-2009, 04:16 AM
1) Script Title:
Accordion Content Script 1.7

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

3) Describe problem:
I am using the script on the following page:

http://esai.ehclients.com/esaitemphome/petroleum/expertise.php

I have defaultexpanded set to [0] and revealtype set to "click". And as you might see, the first item does NOT expand on load... but more puzzling, each submenu opens when the header for the NEXT submenu is clicked. They CLOSE, however, when you click on their own headers, but not the one you clicked to open them.

What on earth could cause this sort of disconnect? http://www.dynamicdrive.com/forums/images/smilies/confused.gif Please help!

ddadmin
11-13-2009, 08:07 PM
Hmm strange at a glance everything looks right. The only thing I would suspect is that perhaps there is an unclosed DIV tag somewhere within the menu that's messing up the order of the header and content pairs.

To help isolate the issue, can you create a blank page with nothing except the menu itself on it? Does that work properly?