Hi People,
I am currently trying to create a JavaScript Popup Password that when you enter the page it Popup and ask for a password. Now this is working, but can I create deferent login password (even through other files), but no PHP or database servers please.
Oh, and can I make USERNAME and PASSWORD popups?
Here is my current HTML Code:
Thank you in advance
Sup3rCow
I am currently trying to create a JavaScript Popup Password that when you enter the page it Popup and ask for a password. Now this is working, but can I create deferent login password (even through other files), but no PHP or database servers please.
Oh, and can I make USERNAME and PASSWORD popups?
Here is my current HTML Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<script type="text/javascript"><!--
var password = "password";
var string = prompt("Please enter the password", "");
if(string!=password) {
alert("Wrong password!");
window.location="about:blank";
}
//--></script>
<body>
It Works!
</body>
</html>
Thank you in advance
Sup3rCow