Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

system bell

Status
Not open for further replies.

ruvolojf

Programmer
May 23, 2007
3
US
I have coded javascript alerts for validations. When the alert window displays the system bell rings on IE but the bell does not sound on firefox and netscape. I tried putting "\a" within the message string in the alert code but it just displays the "a". If I use "\\a" it displays "\a" within the message string.
 
Hi

And what if the visitor does not want to hear bells ?

Anyway, if a browser does not interpret [tt]\a[/tt] then you can not force it. ( I am glad for that. )

Better use a workaround and embed a minimal Java applet which does the same [tt]\a[/tt], but relies less on the browser. Not sure if you can synchronize it with the [tt]alert() calls[/tt].

Feherke.
 
Unfortunately, Java is not an option for me.

I would think that if the visitor doesn't want to hear the bells, he/she would have turned off the sound on/off/volume switch for the whole system.

Thanks for responding,
-ruvolojf
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top