Greetings again,

For anyone who may be interested: I've been able to make one simple  
change on the javascript to enable the accordion panels to open on  
mouseover rather than on click.

About half way down the page you see this line of code:
Spry.Widget.Accordion.prototype.onPanelClick = function(panel)

Change it to:
Spry.Widget.Accordion.prototype.onPanelTabMouseOver = function(panel)

Now the panels open when moused over--very cool!

Thanks very much for your help,

Anne

http://www.bikeforike.org/SpryAssets/SpryAccordion.js
http://www.bikeforike.org/index2.html

On Mar 26, 2009, at 7:01 PM, Anne McKinsey wrote:

> Greetings,
>
> I am building a site in Dreamweaver CS3 and am using its Spry
> accordion widget for a navigation bar and would really like to have
> the panels open when the header tabs are moused-over rather than when
> clicked. Does anyone know of a way to make this happen?
>
> I can't find anything in Adobe Help, the css, or the js pages that
> controls this function. Any help would be much appreciated. Here is
> the site I am working on:
>
> http://www.bikeforike.org/index2.html
>
> http://www.bikeforike.org/SpryAssets/SpryAccordion.js
>
> http://www.bikeforike.org/SpryAssets/SpryAccordion.css
>
> Thanks so very much, Anne
> ______________________________________________________________________
> css-discuss [cs...@lists.css-discuss.org]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to