Loading ...
Sorry, an error occurred while loading the content.

YUI Accordion-view: Clicking a span inside the trigger doesn't toggle panel

Expand Messages
  • rolfsf
    I m using Marco s Accordion View widget. My basic format is as follows:
    Message 1 of 1 , Jan 11, 2010
    • 0 Attachment
      I'm using Marco's Accordion View widget.

      My basic format is as follows:

      <ul id="myAccordion">
      <li>
      <div class="myTriggerElement">
      <span class="this">This</span>
      <span class="that">That</span>
      </div >
      <div class="yui-accordion-content">
      <p>content here</p>
      </div >
      </li>
      <li>
      ...etc
      </li>
      </ul>

      Clicking on one of the spans in the trigger element fails to toggle the content panel. Clicking anywhere else in the trigger element works fine.

      How do I enable the toggle behavior when clicking on elements within the trigger element?

      Thanks!
    Your message has been successfully submitted and would be delivered to recipients shortly.