code for changing subscriptions names?, please? |
![]() ![]() |
code for changing subscriptions names?, please? |
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.
|
|
|
|
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 |
|
|
|
Oct 1 2004, 06:26 PM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
use the "replace any link text" script found in the xanga scripts section
|
|
|
|
Oct 1 2004, 06:27 PM
Post
#4
|
|
![]() The voices talk too much... -.-u ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,099 Joined: Aug 2004 Member No: 39,078 |
Blah.... Nyah.... Change the stuff in caps. Goes in Web Stats. (Crap.... Posted at the same time. >.<u) |
|
|
|
Oct 27 2004, 10:48 PM
Post
#5
|
|
|
miss_congeniality ![]() ![]() Group: Member Posts: 21 Joined: Aug 2004 Member No: 36,900 |
hey....i tried that...and it didnt work...this is what i did
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 (/http//www.xanga.com/nightphire_inc/i)) links[l].innerHTML = str.replace (/http//www.xanga.com/nightphire_inc/i, "dante"); else if (str.match (/http//www.xanga.com/omega_black_x/i)) links[l].innerHTML = str.replace (/http//www.xanga.com/omega_black_x/i, "glen"); bla bla bla bla bla...etc. }//--> </script> <!-- end code provided by createblog.com --> look at my site...[/COLOR[COLOR=blue]]My xAnGa can u pleez help me? |
|
|
|
Oct 28 2004, 04:05 AM
Post
#6
|
|
![]() my own special world... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 465 Joined: Oct 2004 Member No: 54,648 |
QUOTE hey....i tried that...and it didnt work...this is what i did <!-- 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 (/http//www.xanga.com/nightphire_inc/i)) links[l].innerHTML = str.replace (/http//www.xanga.com/nightphire_inc/i, "dante"); else if (str.match (/http//www.xanga.com/omega_black_x/i)) links[l].innerHTML = str.replace (/http//www.xanga.com/omega_black_x/i, "glen"); bla bla bla bla bla...etc. }//--> </script> <!-- end code provided by createblog.com --> look at my site...[/COLOR[COLOR=blue]]My xAnGa can u pleez help me? QUOTE (/http//www.xanga.com/nightphire_inc/i)) links[l].innerHTML = str.replace (/http//www.xanga.com/nightphire_inc/i, "dante"); for the first one u need to put the persons name QUOTE (/NAME1/i))
|
|
|
|
![]() ![]() |