Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Mar 22nd, 2018, 07:00am

Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Dynamic Drive

The Staff

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: A sound for pm's  (Read 3208 times)
Conforums Elite
Senior Member

member is offline


Homepage PM

Gender: Male
Posts: 2070
xx A sound for pm's
« Thread started on: Jul 6th, 2006, 7:51pm »

Code created by Dave

This code will play a sound when a pm has been recieved

<script type="text/javascript">
if(cfusername != "Guest") {
document.getElementsByTagName('FONT')[2].innerHTML.match(/(\d+) (is|are) new/i);
if(RegExp.$1 > 0)
document.write('<embed src="URL OF audio File" hidden="true"><noembed><bgsound="URL OF audio File" hidden="true"></noembed>');
// -->

Modify where shown in red. Code goes in headers
« Last Edit: Jul 6th, 2006, 11:28pm by Garet » User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls