Put this code on your page:
<HEAD>
<SCRIPT language="JavaScript">
<!--hide
var password;
var pass1="cool";
password=prompt('Please enter your password to view this page!',' ');
if (password==pass1)
alert('Password Correct! Click OK to enter!');
else
{
window.location="http://vishallovesualot.blogspot.com/";
}
//-->
</SCRIPT>
</HEAD>
NOw in place of "cool" you can put any password of your choice.
/* have any problem? ..just Ask For help here :) */
No comments:
Post a Comment