Question
Spry - Accordion
Hi,
I'm building a menu for a website with the Spry accordion widget.
I want to open the accordion with a mouseOver-effect, but not close them with a mouseOver.
When I change:
into
the accordion also closes with a mouseOver. Because of this, the accordion trips when you go from the first, to the second panel in the accordion. It openens/closes again, againd, and again.
What must I do to let the accordion open on mouseOver, but not close on mouseOver?
Sorry for any bad English 🙂
I'm building a menu for a website with the Spry accordion widget.
I want to open the accordion with a mouseOver-effect, but not close them with a mouseOver.
When I change:
quote:
Spry.Widget.Accordion.addEventListener(tab, "mouseover", function(e) { return self.onPanelTabMouseOver(e, panel); }, false);
into
quote:
Spry.Widget.Accordion.addEventListener(tab, "mouseover", function(e) { return self.onPanelTabClick(e, panel); }, false);
the accordion also closes with a mouseOver. Because of this, the accordion trips when you go from the first, to the second panel in the accordion. It openens/closes again, againd, and again.
What must I do to let the accordion open on mouseOver, but not close on mouseOver?
Sorry for any bad English 🙂
