inherit
37967
0
Jul 29, 2005 14:57:44 GMT -8
GodfatherRJL
246
February 2005
godfatherrjl
|
Post by GodfatherRJL on Jun 20, 2005 17:08:16 GMT -8
I'm currently using this pm code on my forum.
I'm curious, is it possible to let you know if you have a new PM instead of it just saying Check PMs?
|
|
inherit
37794
0
Feb 1, 2020 12:00:19 GMT -8
Ben
Hello.
7,703
February 2005
benji19
|
Post by Ben on Jun 20, 2005 17:18:37 GMT -8
yes it is. I dont know the code but if you are wanting it to be an image then a code should sort that out.
|
|
RBH
New Member
Posts: 55
inherit
33302
0
Dec 12, 2005 18:48:02 GMT -8
RBH
55
November 2004
ratherbehunting
|
Post by RBH on Jun 20, 2005 20:37:25 GMT -8
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jun 21, 2005 1:11:39 GMT -8
This should do it. Edit the red with the URLs of your on (new Pms) and off (no new Pms) images.
<script type="text/javascript"> <!-- /* 'On' and 'Off' PMs in Mini-Profile */
var on="on.gif"; var off="off.gif";
var TD=document.getElementsByTagName('td'); for(t=0;t<TD.length;t++){ if(TD[t].width=="20%" && TD[t].innerHTML.match(/Posts/i) && TD[2].innerHTML.match(/Hey,/)){ if(TD[2].innerHTML.match(/0 are new/)){ var image=off;} else{var image=on;} TD[t].innerHTML+="<br\/><center><a href=/index.cgi?action=pm><img src='"+image+"' border='0' /></a><\/center>" }} //--> </script>
|
|
inherit
37967
0
Jul 29, 2005 14:57:44 GMT -8
GodfatherRJL
246
February 2005
godfatherrjl
|
Post by GodfatherRJL on Jun 21, 2005 1:41:34 GMT -8
Excellent. Thank you, Elindir. I'm going to try it now.
|
|