Log In · Register

 
code for changing subscriptions names?, please?
PETER_PARKER
post Oct 1 2004, 06:24 PM
Post #1


i'm on the sidelines, playing my kick arse rock music
***

Group: Member
Posts: 70
Joined: Jul 2004
Member No: 33,143



Sorry if someone has asked this before, but does anyone know that code? Thanks in advance.
 
 
Start new topic
Replies
moorepocket
post Oct 1 2004, 06:26 PM
Post #2


Death is a promise given to us at birth
*******

Group: Official Designer
Posts: 4,757
Joined: Mar 2004
Member No: 7,459



here is the code. change what i wrote in caps

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


ADD more if needed
 

Posts in this topic


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