willowkis
New Member
"Everything comes to those who wait"
Posts: 188
inherit
31838
0
Sept 6, 2009 14:12:54 GMT -8
willowkis
"Everything comes to those who wait"
188
October 2004
willowkis
|
Post by willowkis on Jun 21, 2005 8:56:12 GMT -8
Good evening, Does anyone have a code that will change Welcome, You Have xxx New Private Message(s)! to Welcome (persons name), You have xxx Private Messages. (My welcome appears just below my banner in the centre). I think it would be more personal if the members name appeared. Thank you in advance. Kim
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 21, 2005 13:17:39 GMT -8
The person's name should already appear. (look at the top of this page), I assume the code you are using to center the welcome message below your banner is changing it...
Try this instead...
<SCRIPT> <!-- document.getElementsByTagName('FONT').item(1).innerHTML = document.getElementsByTagName('FONT').item(2).innerHTML.replace(/Hey,/i,'Welcome'); document.getElementsByTagName('FONT').item(2).style.display = 'none'; // --> </SCRIPT>
Put it in your global header..
|
|
willowkis
New Member
"Everything comes to those who wait"
Posts: 188
inherit
31838
0
Sept 6, 2009 14:12:54 GMT -8
willowkis
"Everything comes to those who wait"
188
October 2004
willowkis
|
Post by willowkis on Jun 21, 2005 22:14:55 GMT -8
The person's name should already appear. (look at the top of this page), I assume the code you are using to center the welcome message below your banner is changing it... Try this instead... <SCRIPT> <!-- document.getElementsByTagName('FONT').item(1).innerHTML = document.getElementsByTagName('FONT').item(2).innerHTML.replace(/Hey,/i,'Welcome'); document.getElementsByTagName('FONT').item(2).style.display = 'none'; // --> </SCRIPT> Put it in your global header.. Thank you Todge, I will try it after work tonight. Kim
|
|