Playing A Sound File When You Receive A Notification?
4 posters
Page 1 of 1
Playing A Sound File When You Receive A Notification?
Can this feature be added to the toolbar? My forum version is PunBB.
Rukiafan- Forumember
- Posts : 329
Reputation : 9
Language : English
Re: Playing A Sound File When You Receive A Notification?
I have not seen anyone add this feature to the toolbar yet.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Playing A Sound File When You Receive A Notification?
yeah i don't know anyway to do that. i have added sound to navigation bars before, but as far as when receiving a notification not sure?
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Playing A Sound File When You Receive A Notification?
Hello,
You maked other request for that and in AvacWEB forum and for me work Dom's code :
Just replace : http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3
You maked other request for that and in AvacWEB forum and for me work Dom's code :
- Code:
$(window).load(function () {
my_setcookie('notifications', document.getElementById('fa_right').innerHTML, false);
setInterval(function () {
if (document.getElementById('fa_right').innerHTML != my_getcookie('notifications')) {
$('body').append('<embed src="http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3" width="0"
height="0" autoplay="true" style="display: none;" class="notification_sound"></embed>');
setTimeout(function () {
$('.notification_sound').remove();
}, 3000);
my_setcookie('notifications', document.getElementById('fa_right').innerHTML, false);
}
}, 5000);
});
Just replace : http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3
Similar topics
» Sound for when you receive a notification?
» Sound File Upload
» how to get a sound file onto site
» I receive Notification in Spanish with an English Forum ?
» Will we still receive notifications if we don't apply the new notification update
» Sound File Upload
» how to get a sound file onto site
» I receive Notification in Spanish with an English Forum ?
» Will we still receive notifications if we don't apply the new notification update
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum