37 users online (0 members and 37 guests)  

Thread: Button Sounds


  Results 1 to 3 of 3

Related

  1. Pop-up Button    Forum: HTML Forum
    Replies: 11
  2. Replies: 3
  3. Button back and next    Forum: Javascript Forum
    Replies: 1
  4. PhP button    Forum: CSS Forum
    Replies: 6
  5. button links    Forum: HTML Forum
    Replies: 1
  1. #1
    dpbklyn's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Posts
    20

    Button Sounds

    All:

    Thank you in advance for your replies!

    I am using CSS to create roll-over buttons and I am wondering if there is an elegant (or not so elegant) way to add a sound when the user clicks a button.
    Is CSS the correct technology to use for this, or is there something else?

    Thank you,

    dp

  2. #2
    dcuerrier's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2007
    Location
    Brossard, Quebec, Canada
    Posts
    13

    Re: Button Sounds

    CSS is use to style, so no it doesnt have any way to do that with CSS. But, you may look for JavaScript code, with a OnClick, or OnMouseOver, trigger to play the sound. If you need any sample, ask.

  3. #3
    dpbklyn's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Posts
    20

    Re: Button Sounds

    Yeah, that is kinda what I figured, but I wanted to be sure...
    If you have some examples of the javascript, I would love to take a look at it, if not, I am sure i can find it online...
    Thank you, again for a quick response...
    dp



Tags for this Thread