Im just curious. i really want to learn and understand this code. im not into programming.
just asking.
[b]instead of:[/b]
var myplace = document.location.href;
if (myplace == "http://www.friendster.com/user.php?uid=1234567"){
}
else if (myplace == "http://www.friendster.com/user.php?uid=1234567"){
}
else {
location.href = "URL";
}
[b]can i just use:[/b]
var myplace = document.location.href;
if (myplace == "http://www.friendster.com/user.php?uid=1234567"){
location.href = "URL";
}
please explain naman pow...