Results 1 to 2 of 2

Thread: Accordion Content - header clicks not working right

  1. #1
    Join Date
    Nov 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Accordion Content - header clicks not working right

    1) Script Title:
    Accordion Content Script 1.7

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...daccordion.htm

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

    http://esai.ehclients.com/esaitempho.../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/i...s/confused.gif Please help!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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?
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •