View Full Version : alerts with sound
06-23-2002, 08:57 PM
Hello All - a newbie question, how do you add sound to an alert box. Ex. an alert box pops up and goes,"ding".
thanks in advance
06-24-2002, 01:03 AM
you cannot put a sound to an alert. The alert sound - is what the user specifies on there computer. You can though make a function that plays a sound when the user hits okay on an alert.
06-25-2002, 12:08 AM
Is there a way to write a whole new function that includes sound and some popup window for the alert?
06-25-2002, 03:08 AM
Sure no problem here it is.
FOR IT TO WORK YOU NEED a SOUND IN THE EMBED!!!
var alertMessage="This is an alert hehehe"
<embed src='SoundURLHere' autostart='true' hidden='true' loop='true' name="jukebox">
The popurl=The page you want to popup
The alertMessage=What you want the alert to say
The SoundURLHere=The Directory to the sound
Hope this works for ya:D:D:D
06-25-2002, 11:47 PM
thank you kindly ;-)
06-26-2002, 08:20 AM
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.