help with link |
![]() ![]() |
help with link |
Sep 3 2004, 03:05 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 63 Joined: Aug 2004 Member No: 39,326 |
can someone tell me what i did wrong? the "be my friend?" link for people to suscribe to me isnt working. itll only work if u right click it.
<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 (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "shooting star"); else if (str.match (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "shooting stars"); else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "falling star"); else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "falling stars"); else if (str.match (/email it/i)) links [l].innerHTML = str.replace (/email it/i, "."); else if (str.match (/subscribe/i)) links[l].innerHTML = str.replace (/subscribe/i, "be a friend?"); else if (str.match (/Subscriptions/i)) links[l].innerHTML = str.replace (/subscriptions/i, "my friends kick ass"); else if (str.match (/sign out/i)) links[l].innerHTML = str.replace (/sign out/i, "buh bye!"); else if (str.match (/Next 5/i)) links[l].innerHTML = str.replace (/Next 5/i, "fallen stars"); else if (str.match (/Previous 5/i)) links[l].innerHTML = str.replace (/Previous 5/i, "falling stars") }//--> </script> |
|
|
|
Sep 3 2004, 03:21 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
if you right click it? that's strange... can we see a link to your xanga please? so we can see what's wrong
|
|
|
|
Sep 3 2004, 03:23 PM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 63 Joined: Aug 2004 Member No: 39,326 |
|
|
|
|
Sep 3 2004, 03:24 PM
Post
#4
|
|
![]() I never give 4/10 ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 627 Joined: Aug 2004 Member No: 45,375 |
I see nothing with the code. Can i see ur xanga?
// EDIT: man that's alot of html and songs x__X Why dont you change "Subcribe" to "subcribe me" - Tran - |
|
|
|
Sep 3 2004, 03:43 PM
Post
#5
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 63 Joined: Aug 2004 Member No: 39,326 |
hmmm it still isnt working.
|
|
|
|
Sep 3 2004, 03:49 PM
Post
#6
|
|
![]() I never give 4/10 ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 627 Joined: Aug 2004 Member No: 45,375 |
Change it to "subcribe!"
- Tran - |
|
|
|
Sep 3 2004, 04:03 PM
Post
#7
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 63 Joined: Aug 2004 Member No: 39,326 |
nope
|
|
|
|
Sep 3 2004, 05:36 PM
Post
#8
|
|
![]() The voices talk too much... -.-u ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,099 Joined: Aug 2004 Member No: 39,078 |
You have one caputalized and one lowercase.
It's not gonna work that way. |
|
|
|
![]() ![]() |