Log In · Register

 
 
Closed TopicStart new topic
Replacing "Blogrings, Subscriptions, and more", the place any text or link DID NOT work
SnuggleWuggle42
post Dec 21 2004, 05:31 PM
Post #1


A r i e l l e <3
**

Group: Member
Posts: 14
Joined: Nov 2004
Member No: 63,856



i tried both the replace any text and replace any link ; they both did not work. I want to replace where is says name, birthday, birthplace, the thing at the top of blogring that says blogring, the top of subscriptions, posting calender *if you dont get those three go to my site x3_mychemicalromance_x3* and anything else i can possibly replace with that. Thanks if you can <3
 
kellyannie
post Dec 21 2004, 05:52 PM
Post #2


Senior Member
******

Group: Member
Posts: 2,137
Joined: Nov 2004
Member No: 62,193



the replace any text script does work, you probably just made a mistake. can you post your code maybe?
 
krismiss678
post Dec 21 2004, 05:56 PM
Post #3


(¯`·._.·[fly away]·._.·´¯)
****

Group: Member
Posts: 240
Joined: Apr 2004
Member No: 11,583



this should work:

CODE
<!-- begin code provided by createblog.com -->
<script type="text/javascript">
//word replacer - xanga.com/add_ons
//written by xanga.com/easteregg
function replaceWords()
{
// ***add the words you wish to replace below
var oldWords = new Array(
"Name:",
"Birthday:",
"Country:",
"State:",
"Gender:",
"Interests:",
"Expertise:",
"Female",
"Subscriptions",
"Posting Calendar",
"Get Involved",
"My Blogrings"
);

//***add the words you wish to replace the above with - in the same order
var newWords = new Array(
"|call me| ",
"|bday| ",
"|from| ",
"|rockin'| ",
"|i am| ",
"|i luv| ",
"|good at| ",
"a girl",
"|subs|",
"|shit|",
"|more shit|",
"|rings|"
);

//do not edit below this line

allTableData = document.getElementsByTagName('td');
allTableHeaders = document.getElementsByTagName('th');

var collections = new Array(allTableData,allTableHeaders);

for (var k = 0; k < collections.length; ++k )
{
for (var i = 0; i < collections[k].length; ++i )
{
if (collections[k][i].innerHTML.indexOf('TABLE') == -1)
{
for ( var n = 0; n < oldWords.length; ++n )
{
var indx = collections[k][i].innerHTML.indexOf(oldWords[n])
while (indx != -1)
{
var replacement = '';
indx = collections[k][i].innerHTML.indexOf(oldWords[n]);
replacement = collections[k][i].innerHTML.replace(oldWords[n], newWords[n]);
if(navigator.userAgent.toLowerCase().indexOf('compatible')>0){collections[k][i].innerHTML=replacement;//please use supported code at http://help.xanga.com/codes.htm
}
break;
}
}
}
}
}
}
replaceWords();
</script>
<!-- end code provided by createblog.com -->



just replace the things in ||'s with the words you want.
 

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