M
Matt Stanley
I'm trying to use a popup window script that opens the new window to a
specific X,Y coordinate... I'm pretty sure that the window.screenX and
window.screenY properties are the answer, but I'm having very little success
in making this all work in both IE and NS.
Here's my code as it stands today:
function windowOpen3(URL, windowW, windowH) {
strWindow =
'toolbar=no,status=no,scrollbars=no,location=no,menubar=no,directories=no,re
sizable=0,size=yes,width=' + windowW + ',height=' + windowH +
'screenX=100,screenY=100'
window.open(URL,'hwWindow',strWindow)
}
IE is ignoring the X,Y coordinates completely and opening the new window so
far over to the right that half of it is off-screen and NS is picking up the
screenY setting but ignoring screenX.
Am I missing something here? Please help, and TIA.
Stanman
specific X,Y coordinate... I'm pretty sure that the window.screenX and
window.screenY properties are the answer, but I'm having very little success
in making this all work in both IE and NS.
Here's my code as it stands today:
function windowOpen3(URL, windowW, windowH) {
strWindow =
'toolbar=no,status=no,scrollbars=no,location=no,menubar=no,directories=no,re
sizable=0,size=yes,width=' + windowW + ',height=' + windowH +
'screenX=100,screenY=100'
window.open(URL,'hwWindow',strWindow)
}
IE is ignoring the X,Y coordinates completely and opening the new window so
far over to the right that half of it is off-screen and NS is picking up the
screenY setting but ignoring screenX.
Am I missing something here? Please help, and TIA.
Stanman