Log In · Register

 
how do i change the comment link to something else, help
senfail1
post Feb 27 2005, 08:29 PM
Post #1


Member
**

Group: Member
Posts: 14
Joined: Feb 2005
Member No: 99,207



okay so how do i change the comment and eprop links to say something else?? ive seen it done b4...k thanks!
 
 
Start new topic
Replies
Denver Max x88
post Feb 27 2005, 08:36 PM
Post #2


Newbie
*

Group: Member
Posts: 3
Joined: Feb 2005
Member No: 107,270



<!--Get this code at http://help.xanga.com/replacelinks.htm//-->
<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 (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "EPROPS");
else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "EPROP");
else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "COMMENTS");
else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "COMMENT");
else if (str.match (/sign out/i)) links[l].innerHTML = str.replace (/sign out/i, "SIGN OUT");
}//-->
</script>

Change EPROP, COMMENT etc to what you want

You can also change SIGN OUT to whatever you want.
 

Posts in this topic


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