View Full Version : want a login/password prompt like alert box

02-03-2004, 09:52 PM
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!

02-03-2004, 10:09 PM
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.