8 Replies Latest reply on May 11, 2010 1:12 PM by EdJAX

    How do I keep Accordion closed on page load?


      I have the "Accordion" set to close on page load but the panels open first and then close down when the page loads... I have a lot of images and code within each panel, so it takes some time to load, see link below.



      Is there a way to keep the panel closed while the page is loading?




      Accordion widget:

      var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, defaultPanel: -1 });