Simple Machine Codes
March 28, 2024, 06:10:07 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Change Username Across Board V2

Pages: [1]   Go Down
  Print  
Author Topic: Change Username Across Board V2  (Read 521 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: July 19, 2007, 10:01:26 am »

Code:
<script>
function nmeacrossb(){
//Created by Agent Moose
$(function() {
var oldnewb = new Array()
oldnewb[0] = ["OLD NAME","NEW NAME","COLOR OF NAME","OTHER"]

for(l=0;l<oldnewb.length;l++){
$("a").contains(oldnewb[l][0]).html("<font color='"+oldnewb[l][2]+"'>"+oldnewb[l][3]+oldnewb[l][(oldnewb[l][1] != "" ? 1 : 0)]+"</font>");
};});}

nmeacrossb();
</script>

Place this in your Footers

This code is really easy.

When it says "Other", you can add any thing you like in there, like HTML or such.  The rest is self-explainatory.

If you want, you can leave the Other Part and the Color blank.
Report Spam   Logged

Share on Facebook Share on Twitter



Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy