PDA

View Full Version : Spry Collapsible Panel onmouseover/out problems


terraculon
01-13-2010, 04:58 PM
I'm trying to turn the standard spry collapsible panels in Dreamweaver CS4 into rollover dropdown menus. I changed line 148 in the attached .js from

Spry.Widget.CollapsiblePanel.prototype.onTabClick = function()to
Spry.Widget.CollapsiblePanel.prototype.onTabMouseO ver = function()This opens it, however the only way to close it is to mouseout and then mouseover for a second time.

It simply cannot be this way. I need to close it without mousing over again. however I have no experience in JavaScript.
Help would be freakin' awesome.