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 330,373 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,863 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: 357 | Replies: 4 | Solved
Reply
Join Date: May 2008
Posts: 2
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  
7 Days Ago
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: 49
Reputation: xan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
xan's Avatar
xan xan is offline Offline
Light Poster

Re: Login window?

  #2  
7 Days Ago
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
Location: South Africa
Posts: 107
Reputation: Traicey is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 11
Traicey's Avatar
Traicey Traicey is offline Offline
Junior Poster

Re: Login window?

  #3  
1 Day Ago
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.
Being bored is an insult to oneself
Reply With Quote  
Join Date: May 2008
Posts: 2
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  
1 Day Ago
Thank You this is exactly what I want
Reply With Quote  
Join Date: Mar 2008
Location: South Africa
Posts: 107
Reputation: Traicey is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 11
Traicey's Avatar
Traicey Traicey is offline Offline
Junior Poster

Re: Login window?

  #5  
1 Day Ago
Ur welcome , Mark it as solved if solved
Being bored is an insult to oneself
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 Marketplace (Sponsored Links)
Thread Tools Display Modes

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

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