Forum Moderators: open

Message Too Old, No Replies

Turn off the sound of a javascript alert

         

Tasneem

6:04 am on Jun 11, 2007 (gmt 0)

10+ Year Member



Hi,

I'd like to know if there is a way i can turn off the sound produced by my alerts?
can we do some scripting to avoid that sound after i make a call to alert()?
The users say the sound is annoying, and i dont really want to get rid of the alert itself.

Help required at the earliest please.

Thanks,
Tasneem.

Fotiman

2:56 pm on Jun 11, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Instead of using alert, you might considering using a SimpleDialog [developer.yahoo.com] from the Yahoo UI Library [developer.yahoo.com]'s Container [developer.yahoo.com] family of components. This would also give you much more control over the presentation of the alert.

Tasneem

12:08 pm on Jun 12, 2007 (gmt 0)

10+ Year Member



well, like i said i want to stick to using alert() and confirm()
Just want to know a way to get rid of the sound they produce when they pop up. Would like to specify, i dont want my users to do it manually by changing their browser settings..
is there any other solution? say something to do with scripting?

Fotiman

3:11 pm on Jun 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



No.