3 Replies Latest reply: Sep 24, 2008 10:15 AM by andrewmcgibbon RSS

    Accordion Widget Starting Closed

    andrewmcgibbon Community Member
      I am trying to use the accordion widget on the following page:

      http://jalc.org/jazzED/s_eac.html

      I am having a problem getting the page to load with the widget panels closed except the first one. I have added the following code to just below the DIV close tag and it didn't appear to help:

      var acc1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false });
      </script>
      <script type="text/javascript">
      var acc1 = new Spry.Widget.Accordion("Accordion1", { defaultPanel: 0 });
      </script>

      Any ideas would be GREATLY appreciated.

      Thanks,
      Andy