Advertisement

12.01.2008 at 04:30AM PST, ID: 23946497 | Points: 250
[x]
Attachment Details

Easiest way to add sound to css menu

Asked by letharion in JScript, Cascading Style Sheets (CSS)

Tags: ,

Hey, I'm playing around with a css design. I'd like to add a short sound to the hover effect.
What's the easiest way to accomplish that?
I know some CSS. I'm a complete n00b with JavaScript. (Yet)

I'm guessing the solution will be in JS, but if there is a CSS one, that's be great.
Will only run in a controlled environment, so it's really just necessary that it works in FF 3, but
standards compliance ftw if possible.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
ul.LCARS li {
   background-color: #FF9900;
   border: 1px solid black;
   width: 175px;
}
ul.LCARS li:hover {
   background-color: #CC99CC;
   play-sound: file.mp3;               <--- Pseudo code
}
[+][-]12.01.2008 at 04:37AM PST, ID: 23067880

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.01.2008 at 04:38AM PST, ID: 23067885

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.01.2008 at 06:55AM PST, ID: 23068904

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.01.2008 at 07:57AM PST, ID: 23069661

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.01.2008 at 08:52AM PST, ID: 23070179

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.01.2008 at 09:43AM PST, ID: 23070614

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.01.2008 at 09:59AM PST, ID: 23070747

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.02.2008 at 01:37AM PST, ID: 23075481

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.02.2008 at 07:16AM PST, ID: 23077530

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628