[Javascript] Pop up windows with secure URL's
Esther_Strom at hmco.com
Esther_Strom at hmco.com
Thu Oct 10 12:54:31 CDT 2002
Use a window.open function that passes options:
function openWin2(url,winName,height,width,options){
var winHeight = parseInt(height);
var winWidth = parseInt(width) + 15;
//var winOptions = "location=no,toolbar=no,menubar=yes,resizable=yes"
var winOptions = "location=yes,toolbar=no,menubar=yes,resizable=yes"
popupWin = window.open(url,winName,'width=' + winWidth + ',height='
+ winHeight +','+winOptions);
}
Call it like this:
<a href="javascript:openWin2('test2.htm','myWin',300,400);">Click</a>
From what I've seen, this works in 4+ versions of Netscape. Not sure about
IE.
|------------------------------|
| E S T H E R S T R O M, CLPP |
| Notes Application Development|
| McDougal Littell |
| 909 Davis Street |
| Evanston, IL 60201 USA |
| w: 847.424.3209 |
| e: esther_strom at hmco.com |
|------------------------------|
"OfficeMgr"
<OfficeMgr at NetVA To: <javascript at LaTech.edu>
.com> cc:
Sent by: Subject: [Javascript] Pop up windows with secure URL's
javascript-admin
@LaTech.edu
10/10/2002 12:47
PM
Please respond
to javascript
I have a script that displays a link to a pop up window. The URL in the
pop
up is a secure site which does my third party credit card processing.
Everything works well, except there is no visual cues that this is a secure
site (i.e. lock icon, etc.)
Is there a method of having a pop up window which displays a secure URL
(https://) AND shows the secure symbol in the browser window?
Thanks,
Brent
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list