Results 1 to 2 of 2

Thread: Accordion Content default section not expanding

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

    Default Accordion Content default section not expanding

    1) Script Title: Accordion Content

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

    3) Describe problem: The content section set as the default does not open when the page is loaded. You can see this at http://intranet.belmontday.org/intranethome - 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!
    Erik

  2. #2
    Join Date
    Aug 2004
    Posts
    9,897
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    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: http://www.dynamicdrive.com/notice.htm

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
  •