Log In · Register

 
renaming subscriptions, the people.
russellzbabe4lyf
post Dec 10 2004, 06:24 PM
Post #1


Newbie
*

Group: Member
Posts: 6
Joined: Dec 2004
Member No: 70,461



i absolutely cannot figure out the code for replacing the subscriptions names. I want to have them as real names though, not their user name. im not talking the titles, i wanna rename the actual people. i've seen it on somebodies xanga and it's been driving me crazy.

if you could give me the code it'd be much appreciated.

please and thank you
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

www.xanga.com/need_you_like_watr_in_my_lungs < me.
 
 
Start new topic
Replies
sherryvu
post Dec 10 2004, 06:42 PM
Post #2


Senior Member
*******

Group: Member
Posts: 3,826
Joined: Jan 2004
Member No: 2,330



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 (/username/i)) links[l].innerHTML = str.replace (/username/i, "new name");
else if (str.match (/username/i)) links[l].innerHTML = str.replace (/username/i, "new name");
}//-->
</script>
<!-- end code provided by createblog.com -->


just replace the parts that say username and new name happy.gif add as many of these as you need
QUOTE
else if (str.match (/username/i)) links[l].innerHTML = str.replace (/username/i, "new name");
 

Posts in this topic


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