Karina/mind as a dossier synopsis: Difference between revisions
From XPUB & Lens-Based wiki
|
|
Line 1: |
Line 1: |
| <SCRIPT>
| | |
| function passWord() {
| |
| var testV = 1;
| |
| var pass1 = prompt('Please Enter Your Password',' ');
| |
| while (testV < 3) {
| |
| if (!pass1)
| |
| history.go(-1);
| |
| if (pass1.toLowerCase() == "i'myourtutor") {
| |
| alert('Go ahead and read!');
| |
| window.open('www.wikihow.com');
| |
| break;
| |
| }
| |
| testV+=1;
| |
| var pass1 =
| |
| prompt('Access Denied - Password Incorrect, Please Try Again.','Password');
| |
| }
| |
| if (pass1.toLowerCase()!="password" & testV ==3)
| |
| history.go(-1);
| |
| return " ";
| |
| }
| |
| </SCRIPT>
| |
| <CENTER>
| |
| <FORM>
| |
| <input type="button" value="Enter Protected Area" onClick="passWord()">
| |
| </FORM>
| |
| </CENTER>
| |
Revision as of 11:32, 12 October 2016