tags:

views:

903

answers:

2

for an IM script i am making, i would like the computer to beep like in gmail everytime there is a new message. is there a script in php or html to make the computer beep?

Thanks!

+6  A: 

All you need to do is load a small flash movie that makes the sound, you can easily toggle it in your page with Javascript whenever you need it.

duckyflip
+6  A: 

Several popular javascript libraries have interfaces for playing sounds built in or available as plugins, for example see Scriptaculous and jQuery.

robertc