Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 13th, 2005, 11:52 AM
Raytel Raytel is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Sydney Australia
Posts: 2 Raytel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 3 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old May 13th, 2005, 03:27 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
You want someone to log in, and see a white screen?
What's a multiple password script?

_blank will only make a popup window.

Reply With Quote
  #3  
Old May 13th, 2005, 07:02 PM
Raytel Raytel is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Sydney Australia
Posts: 2 Raytel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 3 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
You want someone to log in, and see a white screen?
What's a multiple password script?

_blank will only make a popup window.


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>

Reply With Quote
  #4  
Old May 14th, 2005, 04:45 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: UK
Posts: 160 edwinbrains User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 5 m 50 sec
Reputation Power: 5
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.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > Blank page in HTML


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT