vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Coloured Usernames - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Coloured Usernames (8th Mar 08 at 1:17pm UTC)
<script>
/*Colored Names
Created By Wrighty*/

function name(user, color){
    for(i=0;i<get('a','tag').length;i++){
        if(get('a','tag')[i].className.match(/group/) && get('a','tag')[i].href.match(user)){
            get('a','tag')[i].style.color = color;
        }
    }
}

name('admin','#FF0000');
</script>


To add more colored names simply repeat the following line:

name('admin','#FF0000');

the first part is the username, the second is the colour you want the name to appear.

Global Footer
 Printable View

All times are GMT+0 :: The current time is 9:47pm
Page generated in 0.1854 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums