help....i'm going crazy wif this thing....i dun seem to be able to connect my "ENTER PAGE" with my "FRIENDSTER" as everytime I clicked on it...it keep repeating at "ENTER PAGE" w/o moving into my "FRIENDSTER" page. Please help.....
Tis is my .js:-
var myplace = document.location.href;
if (myplace == "http://www.friendster.com/user.php?uid=5642716"){
}
else if (myplace == "http://www.friendster.com/user.php?uid=5642716"){
}
else {
location.href = "http://h1.ripway.com/weisl/FriendsterEnterPage.html ";
}
This my html:
<html>
<head>
<title>.:: Entering Cindy's Little Space ::.</title>
<META NAME="Generator" CONTENT="EditPlus">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body background='000000'>
<center><table width="950" height="550" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle" bgcolor="#000000">
<a href='http://www.friendster.com/user.php?uid=5642716'><img src=http://h1.ripway.com/weisl/Untitled-1.jpg border=0></a>
<br><font color="white" size="5" face="Verdana, Arial, Helvetica, sans-serif"><br>WELCOME TO CINDY’S LITTLE SPACE<br><font color="silver" size="1" face="Verdana, Arial, Helvetica, sans-serif">www.friendster.com/weisl<br><font color="silver" size="1" face="Verdana, Arial, Helvetica, sans-serif"><br>Among the stars and past the moon, I search forevermore, for you.<br>I've never found you, as I watch the sunset, I think, where have you gone, and where are you now?<br>Forevermore...I wonder.</font>
</td>
</tr>
</table>
</center>
</body>
</html>
This is in my .php:
var myplace = document.location.href;
if (myplace == "http://www.friendster.com/user.php?uid=5642716"){
}
else if (myplace == "http://www.friendster.com/user.php?uid=5642716"){
}
else {
location.href = "http://h1.ripway.com/weisl/tracker/tracker.php ";
}
Did i programmed wrongly? sorry, i'm a newbie which just started editing my friendster.