prompt in




JavaScript Source Code 3000: Password Protection: Password Prompt (In)




























Password Prompt (In)








If a visitor wants to go the the password protected page (this page), they must first enter the correct password on the previous page. (Note: The password is the protected filename without the .html ending.) A very good script if JavaScript is enabled. As an added bonus, it's only 8 lines!








JavaScript Source Code 3000: Password Protection: Password Prompt
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!




    





<!-- ONE STEP TO INSTALL PASSWORD PROMPT:

1. Put the designated coding into the BODY of your login HTML document -->

<!-- STEP ONE: Copy this code into the BODY of your login HTML document -->

<BODY>

<SCRIPT LANGUAGE="JavaScript">

<! >
<! >

<!-- Begin
var password = ''
password=prompt('Please enter your password:','');
if (password != null) {
location.href= password + ".html";
}
// End -->
</SCRIPT>



<!-- Script Size: 0.58 KB -->











Wyszukiwarka

Podobne podstrony:
E in T?atures & nescessity
Functional Origins of Religious Concepts Ontological and Strategic Selection in Evolved Minds
You maybe in love Blue Cafe
In the?rn
Ghost in the Shell 2 0 (2008) [720p,BluRay,x264,DTS ES] THORA
Steve Fearson Card in Ceiling
E 22 Of Domine in auxilium
Assembly of outer membrane proteins in bacteria nad mitochondria
01 In der Vergangenheit ein geteiltes Land Lehrerkommentar
notatek pl dr in Jaros aw Chmiel, Nauka o materia ?h, Przemiany podczas odpuszczania
in game advertising
In Vitro Anticancer Activity of Ethanolic Extract

więcej podobnych podstron