Log In · Register

 
 
Closed TopicStart new topic
help with link
ooditzystarsoo
post 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>
 
sherryvu
post 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 _smile.gif
 
ooditzystarsoo
post Sep 3 2004, 03:23 PM
Post #3


Senior Member
***

Group: Member
Posts: 63
Joined: Aug 2004
Member No: 39,326



there ya go!!!
 
TrannieL
post 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 -
 
ooditzystarsoo
post 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. stubborn.gif and haha yeah i know thats a lot of EVERYTHING on my xanga... i just love music and blinky stuff... haha. i guess i jus have to stick with people wondering y they cant suscribe? blink.gif
 
TrannieL
post 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 -
 
ooditzystarsoo
post Sep 3 2004, 04:03 PM
Post #7


Senior Member
***

Group: Member
Posts: 63
Joined: Aug 2004
Member No: 39,326



nope mad.gif its not ur guys fault... im jus frustrated with it... whenever i change it to suscribe! or whatever... it just doesnt do anything...
 
C.Lime.Jello.
post 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.
 

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