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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2003
    Location
    Brooklyn, NY
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    want a login/password prompt like alert box

    I'm trying to make a product demo for work. I need to duplicate the way the actual product will function but the demo will only run on a CD, it will not have access to any server. In the actual product, when the user clicks "login to secure server" a dialog box that request user name and password comes up. I can't figure out to make that happen. Any suggestions? Thanks!

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    Kansas, USA
    Posts
    487
    Thanks
    0
    Thanked 54 Times in 53 Posts

    As long as it's just a demo...

    Just use window.open() to pop up an HTML that looks the way you want it to look, username/password field or whatever. Unfortunately the popup will have the browser's chrome on it unless you use a "chromeless" window in IE.

    Actually with VBScript it might be possible to create custom browser dialogs? I don't know, I've never ventured into that evil realm.


  •  

    Posting Permissions

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