4 Replies Latest reply: Jan 22, 2009 1:46 PM by Chepe Nicoli RSS

    Spry Accordion

    Chepe Nicoli Community Member
      Anybody knows how the Adobe main page spry accordion was made? It opens on mouse over. Is it the same found on DW CS3 or CS4?

      Thanks in advance!!!

        • 1. Re: Spry Accordion
          Arnout Kazemier Community Member
          They changed the Spry source file,

          replace the Spry.Widget.Accordion.prototype.attachPanelHandlers function in the JS file with this and you will have the same behavior.

          Spry.Widget.Accordion.prototype.attachPanelHandlers = function(panel)
          {
          if (!panel)
          return;

          var tab = this.getPanelTab(panel);

          if (tab)
          {
          var self = this;
          Spry.Widget.Accordion.addEventListener(tab, "mouseover", function(e) { return self.onPanelTabClick(e, panel); }, false);
          Spry.Widget.Accordion.addEventListener(tab, "mouseover", function(e) { return self.onPanelTabMouseOver(e, panel); }, false);
          Spry.Widget.Accordion.addEventListener(tab, "mouseout", function(e) { return self.onPanelTabMouseOut(e, panel); }, false);
          }
          };
          • 2. Re: Spry Accordion
            photographer stefan Community Member
            Yes sir I happens to know. You mean the accordion that is in the lower left in theirs startpage? You have to edit the javascript file in your spryfolder (SpryAccordion.js) on the website you are building. I dont remember exactly what to change but i can put the little file so you can download it if u want.

            Br// Stefan
            • 3. Re: Spry Accordion
              photographer stefan Community Member
              Forget mine you have it from hte adobe pro:) I answered at the same time:)

              • 4. Re: Spry Accordion
                Chepe Nicoli Community Member
                Great... I will try it.

                Thank you!!!