Click to See Complete Forum and Search --> : Gatekeeper 3.2--open window


marieeka
08-27-2003, 12:40 PM
I'm adding gatekeeper 3.2 to my website and I'm looking for help with the scripting.

I would like the user, after entering the correct password, be directed to a new pop up window with the protected pages rather than have the protected pages open in the parent window.

I don't know much javascript, but I think the script I pasted below is the area that needs to be changed. This is the script from the intermediary page (the password page) that will be replaced with the protected page.

----------------------------

function speedVerify() {
parent.stopTimer();
parent.middleframe.document.clear();
parent.middleframe.document.open();
parent.middleframe.document.write("<H"+"TML><B"+"ODY BGCOLOR='#009900'>");
parent.middleframe.document.write("<CENTER><FONT SIZE=3 FACE='verdana,arial,helvetica'");
parent.middleframe.document.write("COLOR='#FFFFFF'><B>Password Accepted</B></FONT></CENTER>");
parent.middleframe.document.write("<BR>");
parent.middleframe.document.write("</B"+"ODY></H"+"TML>");
parent.middleframe.document.close();
holdup = setTimeout('letThrough()',1250);
}
function letThrough() {
parent.opener.parent.rightframe.location.href = target;
if(parent.keeperBoxStayOpen == 0) {
parent.close();
}

----------------------------

I think this function letThrough part is the section I want to change. Rather than open in the parent frame, can anyone help me change it to open in a window that is 800x550, resize yes, scroll yes, tools yes.:confused: