Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 07:23:47 AM

Pages: [1]   Go Down
  Print  
Author Topic: How can creat a welcome sound?  (Read 785 times)
jiwngee
Pong! (the videogame) Master
*****
Offline Offline

Posts: 26


WWW
« on: December 07, 2011, 01:12:32 AM »

Hi!
I've been working on a little website, but i want visitors to hear a welcome sound when they click on the website's logo.
How can i do this with html? javascript?
I came to this forums because i've seen very clever people here.
Thanks for your replies!
Logged

Delois
Spaceship Navigator
*****
Offline Offline

Posts: 92


WWW
« Reply #1 on: March 15, 2012, 12:16:08 AM »

you can use audio script and call that script on onclick function of the logo. You would get the script from the web just need to know the exact time where you are supposed to call that script at time of page load or on click function of the logo. In most of the cased calling script at onclick event of image logo would work fine.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: