Gene
left and top are screenX and screenY in NN.
Nick
-----Original Message-----
From: Gene Kraybill [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 7:35 PM
To: CF-Talk
Subject: OT: JS syntax error
This code works in IE, but not in Netscape (4.61)... Can someone help?
function windowOpen() {
leftPos=0;
if (screen) {
leftPos=screen.width-420;
topPos=screen.height-470;
}
var myWindow=
window.open('index.cfm?fuseapp=Products&fuseaction=Catalog','PopUp',
'height=screen.height,width=400,left='+leftPos+',top=30,scrollbars=yes,resiz
able=no,
toolbar=no,menubar=no');
if (!myWindow.opener) myWindow.opener = self;
}
Gene Kraybill
LPW & Associates
---------------------------------
Gene Kraybill
LPW & Associates LLC
www.lpw.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists