Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    835
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

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

    might this work:
    Code:
     .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!

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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)

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default 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!

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,537
    Plugin Contributions
    127

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

    Quote Originally Posted by kuroi View Post
    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.
    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.

 

 

Similar Threads

  1. Moving sidebox into header, need help please!
    By iddy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Jul 2010, 09:05 PM
  2. Doing a backup took over 7 hours - please help - [SSU]
    By nisdats in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 23 Jan 2010, 08:13 AM
  3. Need urgent help please - Suddenly can't get into Admin
    By beyre in forum General Questions
    Replies: 2
    Last Post: 16 Nov 2009, 05:28 PM
  4. How do we install sound effects?
    By Aranea in forum General Questions
    Replies: 6
    Last Post: 27 Aug 2006, 12:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg