Forums / Templates, Stylesheets, Page Layout / Need to add Sound Effects. Hours into this. Please help

Need to add Sound Effects. Hours into this. Please help

Locked

Started by bumba000 on 26 May 2007, 6:50 PM · Views: 1,851

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
26 May 2007, 6:50 PM
#1
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
859
Plugin Contributions:
0

Need to add Sound Effects. Hours into this. Please help

Hi All,
Thanks for reading. Having some trouble in the style sheet here.
I need to play a sound when hover over left sideboxes categories.

If it helps - this is silverfish with some customization.
Here is the code Im working with.

BOF SideBox Content
=================/
/

leftbox
*/
#navColumnOne {background: url(../images/bg_sidebox.gif) repeat-y; vertical-align: top;}
#navColumnOneWrapper {}
.leftBoxHeading a:focus {content: url(../sound/camera_click.wav);}
.leftBoxContainer {background: transparent;}
.leftBoxHeading {text-align: center; margin: 0em; background-color: #abbbd3; padding: 0.5em 0.2em;}
h3.leftBoxHeading {font-size: 1.1em; margin: 0em; background-color: #1D5685; background-image:url(../images/bg_leftbox_header.gif); padding: 0.5em 0.2em; color: #ffffff;}
h3.leftBoxHeading a {font-size: 1em; color: #ffffff;}
h3.leftBoxHeading a:hover {color: #FFFF33; text-decoration: none;}

/*

Thanks in advance,
John

26 May 2007, 9:12 PM
#2
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Need to add Sound Effects. Hours into this. Please help

might this work:```
.leftBoxHeading a:focus {play-during: url(../sound/camera_click.wav);}

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

26 May 2007, 10:26 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Need to add Sound Effects. Hours into this. Please help

Unfortunately browser support for play-during is a bit limited. Of course, browser development happens fairly regularly for most browsers and at least every five years for Internet Explorer, but the latest info that I know of on this attribute suggests that none of the main browsers have yet adopted it.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 May 2007, 3:46 AM
#4
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Need to add Sound Effects. Hours into this. Please help

Thanks for that....next time I'll dig a little deeper on browser implementation.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

27 May 2007, 5:29 AM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,737
Plugin Contributions:
56

Re: Need to add Sound Effects. Hours into this. Please help

kuroi:

Of course, browser development happens fairly regularly for most browsers and at least every five years for Internet Explorer...

This was a piece of gold I almost missed. :laugh:

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.