Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    login and password window

    someone knows how to generate that small window that apears when you go into a member area of a secure place that ask you for a login and password, like window does.

  • #2
    Regular Coder ellisd5's Avatar
    Join Date
    Jun 2002
    Location
    Uk
    Posts
    160
    Thanks
    5
    Thanked 0 Times in 0 Posts
    I did something similar but to do what your thinking of I had to set up server side access rights to a particular folder which contained the files which you can only see when logged in.

    However I dont how your code doing and it might be useful to know this:

    opening a window in javascript is simple through
    Code:
        var passWin = window.open("login.html", "windowName", "windowProps")

  • #3
    Regular Coder
    Join Date
    Jan 2003
    Posts
    867
    Thanks
    4
    Thanked 8 Times in 8 Posts
    In windows, you need to setup the permissions to prompt for a password. In UNIX, you use the htaccess/htpasswd files. It isn't part of javascript.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •