bajiggity08
09-18-2005, 06:52 AM
Hi, everyone. I'm an HTML newbie and would like to ask all of you intelligent people out there for some help. As I am currently developing a password-protected website for my student group, I would like to know how to open a new window when clicking on the submission button after the username and password is entered.
As per Dynamic Drive's code for encrypted passwords, there is a code included that is as follows:
{
window.location="members.htm"}
else{
alert("Invalid Password/Username Combination")}
}
The window.location portion indicates the site to which the current window will open. However, I am using frames for my site and I would like users to be directed to a site that offers "members only" items. More over, I would like a new window to be opened upon the password submission.
Is it possible to do this??? If anyone is knowledgeable of this particular situation and can help me solve it with an accompanying code, please reply. I would appreciate very much.
Thank you all and take care!
As per Dynamic Drive's code for encrypted passwords, there is a code included that is as follows:
{
window.location="members.htm"}
else{
alert("Invalid Password/Username Combination")}
}
The window.location portion indicates the site to which the current window will open. However, I am using frames for my site and I would like users to be directed to a site that offers "members only" items. More over, I would like a new window to be opened upon the password submission.
Is it possible to do this??? If anyone is knowledgeable of this particular situation and can help me solve it with an accompanying code, please reply. I would appreciate very much.
Thank you all and take care!