Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Aug 21st, 2017, 4:24pm


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
Google
Dynamic Drive

The Staff
Roger
Dave
GIzzy



« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Alert When Pm Has Been Recieved  (Read 3409 times)
Garet
Conforums Elite
Senior Member


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 2073
xx Alert When Pm Has Been Recieved
« Thread started on: Jul 7th, 2006, 12:46pm »

Submitted By Wolvenraider

Headers

Quote:
<script language="JavaScript" type="text/javascript">
<!--/* cross browser PM alert */
var num=0;if(document.getElementsByTagName("table")[1].innerHTML.match(/, (\d+) (is|are) new/) && !location.href.match(/=(im|pm)/i))num=RegExp.$1;if(num>0){var msg="Message";if(num>1){msg+="s";}if(confirm("You Have "+num+" New Private "+msg+"\n\nCheck PMs now?"))location="/index.cgi?action=im";}// --></script>



Code pop up's with an alert when you've recieved a pm it'll ask you to press ok and direct you straight to your pm inbox
User IP Logged

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

Back To Top
Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls