0 Replies Latest reply on Aug 16, 2007 6:36 AM by shan123456

    Dreamweaver cs3 accordion

    shan123456
      hi can any one help me with the accordion in dreamweaver cs3. i want to use an mouseover effect but can noe get it to work.
      have looked at other threads on this forum. but no joy.

      http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid =1282158&enterthread=y

      have tried both methods

      <div class="AccordionPanelTab" onmouseover="Accordion1.openPanel(0);">Label 1</div>

      But you can get the MouseOver by modifying the spryaccordion.js.
      Search for
      Spry.Widget.Accordion.prototype.onPanelTabMouseOver = function(panel)
      and copy/paste the onClick functions:

      if (panel != this.currentPanel)
      this.openPanel(panel);
      this.focus();

      ... it should look like this:

      - - - - - - - - -

      Spry.Widget.Accordion.prototype.onPanelTabMouseOver = function(panel)
      {
      if (panel != this.currentPanel)
      this.openPanel(panel);
      this.focus();

      /*
      if (panel)
      this.addClassName(this.getPanelTab(panel), this.hoverClass);
      */
      };

      but wont work for me.

      the script that i am using is just the standard the dreamweaver makes. any help would be great.

      thanks shaun