joseph4
asked on
audio alert: make a web page beep
i would have thought this was easy, but it just doesn't want to work for me. i have an on-the-fly web page that refreshes itself automatically, but *only* if there's new info to be shown. since a user might have several open browsers i want the page to cause a windows beep when it loads. this way, when it refreshes with new data, the user is alerted to check it.
i've tried stuff like:
print chr(7);
print qq~<Win32::Sound::Play("Sy stemExclam ation")>~;
print "\a";
print "\007";
i'm running perl 5 on a unix box. any suggestions?
i've tried stuff like:
print chr(7);
print qq~<Win32::Sound::Play("Sy
print "\a";
print "\007";
i'm running perl 5 on a unix box. any suggestions?
ASKER
thanks, teraplane,
i'll try the <bgsound src="/windows/media/chord. wav">, but i don't want to embed and cause the browser to launch winamp or whatever
i'll try the <bgsound src="/windows/media/chord.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<bgsound src="/windows/media/chord.
Another alternative is the <object> tag to embed a sound