Log In · Register

 
 
Closed TopicStart new topic
comment problems, replacements
em0_t0_the_death
post Aug 6 2004, 01:53 PM
Post #1


.: each passing day :.
***

Group: Member
Posts: 95
Joined: Apr 2004
Member No: 12,927



i've been having a problem with my xanga for a while now. every time i type comment or eprop, it comes up as what i substituted as for my link. i used the replace link text code but it doesn't work with the eprops... so i used the replace text code and now it replaces comment with 'stupid mistake' everytime i type it. is there a rectify this problem?

thx.
danielle
 
Caustic
post Aug 6 2004, 02:00 PM
Post #2


rawr
*****

Group: Member
Posts: 906
Joined: Jul 2004
Member No: 26,961



Replace the 'replace text' code with this:
QUOTE
<!-- 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 (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "lame excuse");
else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "lame excuses");
else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "stupid mistakes");
else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "stupid mistake");
else if (str.match (/email it/i)) links[l].innerHTML = str.replace (/email it/i, "share the pain");
}//-->
</script>
<!-- end code provided by createblog.com -->
 
em0_t0_the_death
post Aug 6 2004, 04:10 PM
Post #3


.: each passing day :.
***

Group: Member
Posts: 95
Joined: Apr 2004
Member No: 12,927



thx but i already fixed it... i just reorganized stuff and found the problem
 

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