Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Jul 5, 2005 18:55:56 GMT
Global Footer:<script type="text/javascript"> <!-- var a= document.getElementsByTagName('a'); function colorName(name,color) { for (i=0; i<a.length; i++) { if (a.item(i).href.match(new RegExp('action=viewprofile&(amp;)?user='+name+'$'))) { a.item(i).style.color = color; } } }
colorName('username','color'); colorName('username','color');
// --> </script>Then add more colorName('Username','color');
for more members. Remember to use the username and not the display name
|
|
user
Junior Member
Banned!
Posts: 56
|
Post by user on Mar 1, 2006 1:50:48 GMT
does the color have to be a code? EX:
#F00000 or
F00000
|
|
|
Post by BobbyKat LittleCub on Mar 1, 2006 1:58:49 GMT
You don't need a # sign.
|
|
user
Junior Member
Banned!
Posts: 56
|
Post by user on Mar 1, 2006 13:59:44 GMT
Ok, Thanks alot! so, I do a code.... I thought I was sapoused to do a colors name.... Oh Well.
|
|