Te dejo código de un script muy sencillo y bueno, de nombre de usuario y password para todos por si te sirviera. Es totalmante configurable y no se ven número de usuario y contraseña cuando veas código fuente.
El la sección <body inserta:
<form>
<p>ENTER USER NAME :
<input type="text" name="text2">
</p>
<p> ENTER PASSWORD :
<input type="password" name="text1">
<input type="button" value="Check In" name="Submit" onclick=javascript
:validate(text2.value,"free ",text1.value,"javascript") >
</p>
</form>
<script language = "javascript">
/*
Script by Anubhav Misra (
[email protected])
Submitted to JavaScript Kit (http://javascriptkit.com)
For this and 400+ free scripts, visit http://javascriptkit.com
*/
function validate(text1,text2,text3,text4)
{
if (text1==text2 && text3==text4)
load('success.htm');
else
{
load('failure.htm');
}
}
function load(url)
{
location.href=url;
}
</script>
Espero que te vaya bien y si puedes soluciona mi duda en el foro:
Ciao, Ellyza