[css-d] make accordion box open on mouseover
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/
Re: [css-d] make accordion box open on mouseover
From: Anne McKinsey anne...@charter.net 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 Hi Anne, The question you have concerns JavaScript and should be asked on Adobe's spry forum: http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72catid=602 I'm not fluent in their script, but it should be possible. It has nothing to do with CSS though. -- Al Sparber - PVII http://www.projectseven.com Dreamweaver Menus | Galleries | Widgets http://www.projectseven.com/go/apm An Accessible Elegant Accordion __ 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/
Re: [css-d] make accordion box open on mouseover--works now
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/