Loser
05-25-2004, 01:54 PM
I didn't know if should put this in the javascript section of this section...but I guess I'm putting it here. I found this code off of this web site (http://javascript.about.com/library/scripts/blpassword.htm)
Can Someone take a look at it, I don't know how to install it and change the password. This is my code I have for my login page
function PasswordLogin()
{
document.location.href = document.formlogin.password.value + "blpasstest.html";
return false;
}
function CheckEnter(event)
{
var NS4 = (document.layers) ? true : false;
var code = 0;
if (NS4)
code = event.which;
else
code = event.keyCode;
if (code==13)
{
PasswordLogin();
event.returnValue = false;
}
}
</script>
<title>The Runescapers-Members Login</title>
</head>
<body style="background:url(options.jpg) center center no-repeat black;" bgcolor="black" text="gold">
<form name="formlogin" onsubmit="PasswordLogin()">
Password: <input type="password" name="password" size="20" onKeyPress="CheckEnter(event)">
<input type="button" value="Login" onclick="PasswordLogin()"></p>
</form>
</body>
</html>
Can Someone take a look at it, I don't know how to install it and change the password. This is my code I have for my login page
function PasswordLogin()
{
document.location.href = document.formlogin.password.value + "blpasstest.html";
return false;
}
function CheckEnter(event)
{
var NS4 = (document.layers) ? true : false;
var code = 0;
if (NS4)
code = event.which;
else
code = event.keyCode;
if (code==13)
{
PasswordLogin();
event.returnValue = false;
}
}
</script>
<title>The Runescapers-Members Login</title>
</head>
<body style="background:url(options.jpg) center center no-repeat black;" bgcolor="black" text="gold">
<form name="formlogin" onsubmit="PasswordLogin()">
Password: <input type="password" name="password" size="20" onKeyPress="CheckEnter(event)">
<input type="button" value="Login" onclick="PasswordLogin()"></p>
</form>
</body>
</html>