Log In · Register

 
eprops question
mslissy83
post Jul 24 2004, 03:21 AM
Post #1


Newbie
*

Group: Member
Posts: 1
Joined: Jul 2004
Member No: 33,746



hey i am new and i got my xanga account earlier this week with the premium service. I was wondering how you get the eprops to say different stuff. I'd appreciate some help!
 
 
Start new topic
Replies
Caustic
post Jul 24 2004, 04:39 AM
Post #2


rawr
*****

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



Or you can use this. It replaces link text:

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, "cents");
else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "cent");
else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "dollars");
else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "dollar");
else if (str.match (/subscribe!/i)) links[l].innerHTML = str.replace (/subscribe!/i, "add me");
else if (str.match (/sign out/i)) links[l].innerHTML = str.replace (/sign out/i, "log out");
}//-->
</script>
<!-- end code provided by createblog.com -->
<!-- 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: