View Full Version : Having trouble finding the thing i need


chocoholic_88
04-27-2003, 05:17 AM
I am pretty new to all of this, so plz dont confuse me... lol... i am looking for a code which i can put on my web page, that u have to type in the right password to go to the next screen.... can some1 help, pretty quickly

chocoholic_88
04-27-2003, 05:24 AM
nvm... i found it... lol

is this right?

<script language="JavaScript">
<!--hide
var password;
var pass1="yourpasswordhere";
password=prompt('Enter your password in order to view this page!',' ');
if (password==pass1)
alert('YAY you got it right! Click OK to enter!');
else
{
window.location="http://www.lissaexplains.com";
}
//-->
</script>