Solved

Ajax Accordion - Collapse All as the Default state (or on MouseOut)?

Posted on 2009-07-03
3
912 Views
Last Modified: 2012-05-07
I am using Dreamweaver's Spry accordion.   I have the default state set so that no panes (only headers) are open by default.   I have modified the code so that the Panes open on the mousehover.  

What I am looking for is that after the cursor (focus) has left the Accordion, that it return to the default state of all panels collapsed.    

Basically, something like this in Javascript or CSS....

Accordion.Hover (lost focus).  Collapse all Panes.

Thanks for any direction.
0
Comment
Question by:rrowe68
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
8riaN earned 500 total points
ID: 24772957
You could use: onMouseOut = Accordian.closePanel();
0
 
LVL 5

Expert Comment

by:8riaN
ID: 24772962
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now