Results 1 to 2 of 2

Thread: Accordion Content default section not expanding

  1. #1
    Join Date
    May 2008
    Thanked 0 Times in 0 Posts

    Default Accordion Content default section not expanding

    1) Script Title: Accordion Content

    2) Script URL (on DD):

    3) Describe problem: The content section set as the default does not open when the page is loaded. You can see this at - the 'Classrooms' header should be expanded to show 'Pre-Kindergarten, Kindergarten, Grade 1, etc...' below.

    I have the latest copy of ddaccordion.js that includes the big fix for the 'defaultexpanded'. Any thoughts on what's wrong?

    Note: there are a lot of extra line breaks in the source code - an unfortunate and unavoidable side-effect of the scripting engine this site is forced to use. Starting at about line 718, you'll see the reference to the external scripts (jQuery and DDAccordion), and the inline script where I've set the DDAccordion initial variables, including defaultexpanded: [0].

    Thanks in advance!

  2. #2
    Join Date
    Aug 2004
    Thanked 1,007 Times in 992 Posts
    Blog Entries


    I just checked your page using IE7 and FF2, and in both browsers, the "Classrooms" header is expanded by default when the page loads. What browser are you seeing an issue with it not being open?

    BTW, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice:


Posting Permissions

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