replacing words., thxx |
![]() ![]() |
replacing words., thxx |
Aug 31 2004, 07:59 AM
Post
#1
|
|
![]() work hard. play hard. ![]() ![]() ![]() ![]() Group: Member Posts: 266 Joined: Jul 2004 Member No: 32,940 |
duz anyone noes how to replace da words like reviews or events or xanga like those words juz above ur xanga?? like in between ur serach bar n header?? coz i've tried to use da words which replaces the profile but it duznt work. anyone plz giv me da code?? thxx tunz
|
|
|
|
Aug 31 2004, 08:01 AM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
use the replace any link text script foudn in the xanga scripts section
|
|
|
|
Aug 31 2004, 11:24 AM
Post
#3
|
|
![]() The voices talk too much... -.-u ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,099 Joined: Aug 2004 Member No: 39,078 |
CODE <!-- begin code provided by createblog.com --> <script language="javascript"> <!-- var links = document.getElementsByTagName ('a'); for (var l = 0; l < links.length; l++) { str = links[l].innerHTML; if (str.match (/\d+:\d+ (am|pm)/i)) links[l] else if (str.match (/USER NAME/i)) links[l].innerHTML = str.replace (/USER NAME/i, "THE NAME YOU WANT IT TO BE"); else if (str.match (/USER NAME/i)) links[l].innerHTML = str.replace (/USER NAME/i, "THE NAME YOU WANT IT TO BE"); else if (str.match (/USER NAME/i)) links[l].innerHTML = str.replace (/USER NAME/i, "THE NAME YOU WANT IT TO BE"); else if (str.match (/USER NAME/i)) links[l].innerHTML = str.replace (/USER NAME/i, "THE NAME YOU WANT IT TO BE"); else if (str.match (/USER NAME/i)) links[l].innerHTML = str.replace (/USER NAME/i, "THE NAME YOU WANT IT TO BE"); }//--> </script> <!-- end code provided by createblog.com --> Replace 'USERNAME' with the word you want to change. Then replace "THE NAME YOU WANT IT TO BE" with what you want to change it to. Remember to replace BOTH 'USERNAME' portions, otherwise it won't work. |
|
|
|
![]() ![]() |