I have an accordion control that I use for navigation. The Header contains a hyperlink to the main category and the content pane contains subcategories. EX
Header: ParentCat (hyperlink)
Content: -Sub1 (hyperlink), Sub2 (hyperlink), etc
When clicking around the ParentCat link the content pane expands and collapses fine - which I want - but when clicking the ParentCat link, the content pane should not begin to open/close since we are leaving that page. All the links work, it's just annoying to see the animation start and then *poof* a new page loads. My client thought it was a 'glitch' and well...it does look like one.
Is there a way to add an onclick event handler to the header link that would prevent the accordion animation?