Solved

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

Posted on 2009-07-03
3
916 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

728 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