|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Blank page in HTML
I am using the multiple password scirpt in HTML, where do I insert the _blank so that the successful login page comes out as a blank page. help anyone? Ray
|
|
#2
|
||||
|
||||
|
You want someone to log in, and see a white screen?
What's a multiple password script? _blank will only make a popup window. |
|
#3
|
|||
|
|||
|
Quote:
My site is www.raywilliamsphotography.com , if you look at the site there is a login section bottom right of the sreen, the site has been designed with frames, the login section is a java applet and I am having a problem with clients who are trying to login with java not installed so the easiest way is a html script. but when I put the script in and login it will only open in the frame where the script is, thats why I need to direct it to a blank page (which I can put my clients images on). <SCRIPT LANGUAGE="JavaScript"> function Login(){ var done=0; var password=document.login.password.value; password=password.toLowerCase(); if (password=="123") { window.location="success.htm"; done=1; } if (password=="007") { window.location="success.htm"; done=1; } if (password=="008") { window.location="success.htm"; done=1; } if (done==0) { alert("Invalid login!"); } } </SCRIPT> |
|
#4
|
||||
|
||||
|
You don't want to switch to that Javascript. Anyone could easily look at your code, find out what the password is and bypass the login system completely. If they don't have Java installed, you're going to need a server-side script using something like PHP or ASP.
|
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Development > Blank page in HTML |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|