Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts

    How to play random sounds on click?

    On my website I have picture that when clicked I want to play random sound files. I have 5 wavs uploaded and defined in a variable but only the first one plays when this picture is clicked. How can I have all 5 play randomly on click?

    Thank you!

  • #2
    New Coder
    Join Date
    Jan 2012
    Posts
    36
    Thanks
    1
    Thanked 0 Times in 0 Posts
    try javascript


  •  

    Posting Permissions

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