change "eprops" |
![]() ![]() |
change "eprops" |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Jul 2006 Member No: 433,015 ![]() |
hello.. does anyone know how to change "2 eprops" to something like "2 shots of tequila" or like "2 shots of whiskey" or how about "2 thumbs up"?
|
|
|
*digital.fragrance* |
![]()
Post
#2
|
Guest ![]() |
CODE <script type="text/javascript"> function replaceWords() { // ***add the words or fragments you wish to replace below var oldWords = new Array( "Next 5", "comment", "Comment", "comments", "Comments", "eProp", "eprop", "eProps", "email it", "Post a Comment", "Read Comments", ";-)", "Comment Only", "Post Comments", "2 eProps", "1 eProp", "Back to AznGrl's Xanga Site!", "perfumess"); // *** add the replacing words or fragments below var newWords = new Array( "lo0k in da past", "jewel", "jewel", "jewels", "jewels", "perfume", "perfumes", "perfumes", "talk to me", "give a jewel", "look at jewels", "~.^", "just a jewel", "Give A Jewel", "2 Perfumes", "1 Perfume", "to aznqrL's xanqa~!", "perfumes"); 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> Of course, change them to what you want. |
|
|
![]()
Post
#3
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Jul 2006 Member No: 433,015 ![]() |
thanks for your help! =)
|
|
|
*digital.fragrance* |
![]()
Post
#4
|
Guest ![]() |
no prob
![]() |
|
|
![]() ![]() |