A code that brings up a password window that the person must enter before gaining access to the password protected page. This is to keep others off of the web pages you choose.
- Code:
<script language="JavaScript">
var password;
var pass1="PASSWORD-HERE";
password=prompt('PunBB Community Has Forbidden You Access To This Page. To Gain Access You Must Have The Correct Code!',' ');
if (password==pass1) alert('Pass Code Accepted!');
else {
window.location="HTML PAGE-LINK";
}
</script>
All content posted on Punbb Experts Forums is property of Punbb Experts and shall not be copied or posted anywhere else. With out written consent from the tutorial creator or forum Administration. |