User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 374,614 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,289 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 852 | Replies: 4 | Solved
Reply
Join Date: May 2008
Posts: 3
Reputation: kitsune is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kitsune kitsune is offline Offline
Newbie Poster

Login window?

  #1  
May 6th, 2008
Hi,

I want to show a login pop up window that has the username and password, I want it to be like the prompt.

Can anyone help....
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2008
Location: UK
Posts: 51
Reputation: xan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 10
xan's Avatar
xan xan is offline Offline
Junior Poster in Training

Re: Login window?

  #2  
May 6th, 2008
If you mean the popup window that appears in your browser asking for a username and password, this relies on the htaccess and htpasswd files, was it this you are looking for or another type of login box?
Reply With Quote  
Join Date: Mar 2008
Posts: 169
Reputation: Traicey is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 16
Traicey's Avatar
Traicey Traicey is offline Offline
Junior Poster

Re: Login window?

  #3  
May 12th, 2008
U can create ur login page separately and use window.open in ur home page, using javascript or anywhere in the body of ur default home page the following will lead you to the right path

You can also use the window.moveTo function to move the popup window to a desired location. The code below shows positioning the popup at a desired location

function mypopup()
 {
   mywindow = window.open ("TheNameOfUrLoginWindow.htm",
  "mywindow","location=1,status=1,scrollbars=1,
  width=100,height=100");
  mywindow.moveTo(0,0);
 } 
The code positions the popup on the top left corner of the screen.
Some people get so rich they lose all respect for humanity. That's how rich I want to be.
Reply With Quote  
Join Date: May 2008
Posts: 3
Reputation: kitsune is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kitsune kitsune is offline Offline
Newbie Poster

Re: Login window?

  #4  
May 12th, 2008
Thank You this is exactly what I want
Reply With Quote  
Join Date: Mar 2008
Posts: 169
Reputation: Traicey is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 16
Traicey's Avatar
Traicey Traicey is offline Offline
Junior Poster

Re: Login window?

  #5  
May 12th, 2008
Ur welcome , Mark it as solved if solved
Some people get so rich they lose all respect for humanity. That's how rich I want to be.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 8:53 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC