GlitchesSocom Junior Member
Will code JavaScript for food. Posts: 67 Status: Offline Gender: Male Location: USA Age: 34 Joined:
pmwwwmsnyahooaimgtalkvForum | Play noise with New PM (7th Nov 08 at 4:23am UTC) | | Here is the code I made for my forum. When someone on my forum has a new message then it plays the AOL "You've Got Mail" lol.
Just change the URL variable to the url where the mp3 file is located.
GLOBAL HEADER
Code: - <script type="text/javascript">
- <!--
- /*play noise when new pm
- glitchessocom.vforums.co.uk*/
-
- var URL = 'INSERT URL HERE.MP3';
-
- if(vf_new_pms!= 0) {
- document.write('<embed src="' + URL + '" autostart="true" loop="false" volume="100" hidden="true" />');
- }
- //-->
- </script>
-
| |
|
|
Dreg[Bot] Moderator
Broken Posts: 415 Status: Offline Gender: Male Age: 37 Joined:
Additional Groups: Coding Team
pmYesh im sneaky! | Re: Play noise with New PM (24th Dec 08 at 5:19pm UTC) | | What if the person has new PM's and just want to ignore it ? Personally i think it would be annoying, but im open to if anyone wants this code... Anyone? PM me if you'd use this code. | |
Now obsession rules my mind This commotion makes me blind Searching out who ever runs Or has stolen away my life
But i've already said
Don't ever back down Don't ever turn around My end has come So now I come for you.... |
|
Marc vChat Developer
I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 32 Joined:
Additional Groups: Coding Team
pmwww | Re: Play noise with New PM (24th Dec 08 at 10:44pm UTC) | | Glitches, I would suggest adding an "Ignore" link somewhere that sets a cookie to stop the sound from playing anymore for that PM. | |
rroll.to— Shorten a link, rickroll your friends. |
|