Jump to content

Archived

This topic is now archived and is closed to further replies.

jayR

Alert Sound

Recommended Posts

Ok, so I have an AJAX application that I'm working on that needs to have an "alert sound" played when the current information changes so that the user notices it.  I'm not exactly sure what I should go with here, so I'm looking for suggestions from people that have done similar things in the past.  Any input/advice would be greatly appreciated.  Thanks.

Share this post


Link to post
Share on other sites
Simple way: embed a sound file into the page and play it from the javascript.  I think, though that PHP has an \a (or similar) alert escape.  I don't know where this would play though (I think your server might just beep, and that would be no good).

I think embedding could work.

Share this post


Link to post
Share on other sites
insert a sound file in a database field.

do a cheek if the check exists play the sound file.

Share this post


Link to post
Share on other sites
first, i'd move this to a different forum.
then I'd suggest using a visual cue, instead of (or in addition to) audio.

many people, especially those surfing from work, don't have speakers on (or attached)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.