Thursday, August 7, 2008

Sample Letter For Opening A New Hair Salon

How to make a Javascript-BEEP

Although I am not very keen to add sounds to web pages, sometimes the customers (those paying ) stress and must be done.

On to as adding a javascript BEEP by despite having searched I found a way to do it (If anyone knows how that comment). What if I found it BEEP and simulate using a WAV file.

The truth is simple javascript code, here I leave:


doBeepWav function () {
ver = parseInt (navigator.appVersion) ie4 =
(see> 3 & & navigator.appName! = "Netscape") ?
1:0 ns4 = (see> 3 & & navigator.appName == "Netscape")?
1:0 ns3 = (view == 3 & & navigator.appName == "Netscape")? 1:0
if ( ie4) document.all
['BGSOUND_ID']. src = '. / sounds / beep.wav';
if ((ns4 type = "text / VBScript" language = "VBScript">
'Lets make a beep,
' needs to be enabled in your browser of choice:
'Create and start active X controls
sub doBeep ()
CreateObject (" WScript.Shell "). Run" cmd / c @ echo "& Chr (7), 0

end sub \u0026lt;/ script>



0 comments:

Post a Comment