View Full Version : need more help!


dreamspeaker
02-17-2003, 09:53 PM
go to the link below
http://www.geocities.com/dream_cleric/
i want a password html thing to show up but it won't....i'm not using it from here its from another site the code for it is this

<SCRIPT language="JavaScript"><!--hidevar password;var pass1="pegacorn";password=prompt('Please enter the password!Trust me you won't get in without it!',' ');if (password==pass1)alert('Welcome to the Hidden Valley Herd!');else { window.location="http://www.geocities.com/dream_cleric/wrong.html"; }//--></SCRIPT>

how do i get it to come up?

star_jewelz
02-18-2003, 12:46 AM
Well you can use an entirely new script. I recomend the gatekeeper:

www.wsabstract.com/script/cut34.shtml

or try this script from Lissa:

<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>

Just replace the password, alert text, and url.

Best Wishes, ;)