Log In · Register

 
Someone Please Read Through This Code;, And Tell Me Why It's Not Working.
computershateme
post Dec 27 2004, 02:28 AM
Post #1


Senior Member
***

Group: Member
Posts: 69
Joined: Aug 2004
Member No: 40,538



I have been customizing for over three hours straight, and I can't even focus my eyes anymore. I'm trying to replace all the usernames in my subscriptions module with my friend's actual names; it worked when i tested it out and only put the first person in, then i filled all the names out and for some reason it's not working now. Someone please help me out and tell me what's wrong...maybe I accidentially deleted something. I need to get some sleep. Here's the code that's being all retarded:

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 (/goodollpunk/i)) links[l].innerHTML = str.replace (/goodollpunk/i, "Ash");
else if (str.match (/myskincriescrimsontears/i)) links[l].innerHTML = str.replace (/myskincriescrimsontears/i, "Meagan");
else if (str.match (/Op3r4t0r /i)) links[l].innerHTML = str.replace (/Op3r4t0r /i, "Marvin");
else if (str.match (/JustForgetIt/i)) links[l].innerHTML = str.replace (/JustForgetIt/i, "Lauren");
else if (str.match (/That_Dood /i)) links[l].innerHTML = str.replace (/That_Dood /i, "Shane");
else if (str.match (/IfIDontMakeIt/i)) links[l].innerHTML = str.replace (/IfIDontMakeIt /i, "Melissa");
else if (str.match (/lunarbruja /i)) links[l].innerHTML = str.replace (/lunarbruja /i, "Chrissy");
else if (str.match (/
bandbum2008/i)) links[l].innerHTML = str.replace (/
bandbum2008/i, "Kristen");
else if (str.match (/Just__Break__Away/i)) links[l].innerHTML = str.replace (/Just__Break__Away/i, "Kimmi");
else if (str.match (/DaydreamerXxX4 /i)) links[l].innerHTML = str.replace (/DaydreamerXxX4 /i, "Laura");
else if (str.match (/Kaitlyn_is_awsoome /i)) links[l].innerHTML = str.replace (/Kaitlyn_is_awsoome /i, "Kaitlyn");
else if (str.match (/EatYourCancer/i)) links[l].innerHTML = str.replace (/EatYourCancer/i, "Dave");
else if (str.match (/counterfeitsoda/i)) links[l].innerHTML = str.replace (/counterfeitsoda/i, "Jim");
else if (str.match (/meant_to_live_08 /i)) links[l].innerHTML = str.replace (/meant_to_live_08 /i, "Meghan");
else if (str.match (/ckyordieguy /i)) links[l].innerHTML = str.replace (/ckyordieguy /i, "Evan");
else if (str.match (/Peter_Griffin123/i)) links[l].innerHTML = str.replace (/Peter_Griffin123/i, "Aaron");
else if (str.match (/Suicidal_Darkness/i)) links[l].innerHTML = str.replace (/Suicidal_Darkness/i, "Amy");
else if (str.match (/lauWong165/i)) links[l].innerHTML = str.replace (/lauWong165/i, "Zach");
else if (str.match (/XFuLLm00nx/i)) links[l].innerHTML = str.replace (/XFuLLm00nx/i, "Amy's Old Page");
else if (str.match (/ihearthanson/i)) links[l].innerHTML = str.replace (/ihearthanson/i, "Kath");
else if (str.match (/SaturineSpeculations/i)) links[l].innerHTML = str.replace (/SaturineSpeculations/i, "My Old Page");
else if (str.match (/cantfeeluthere/i)) links[l].innerHTML = str.replace (/cantfeeluthere/i, "Brey");
else if (str.match (/onionmeater/i)) links[l].innerHTML = str.replace (/onionmeater/i, "Joe");
}//-->
</script>

<!-- end code provided by createblog.com -->
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: