I usually use the following code for opening windows...
function openWin()
var URL = "newpage.html"
var title
var width = 200
var height = 200
//set contered to false if you don't want the new window to be centered
var centered = true;
var top = centered : parseInt((screen.availHeight - height)/2) ? ""
var left = centered : parseInt((screen.availWidth - width)/2) ? ""
var winArgs = "height="+ height +", width="+ width +", top="+ top +",
screenY="+ top +", left="+ left +", screenX="+ left;
var newWin = window.open(URL, title, winArgs);
}
... whatch out for line breaks... The line var 'winArgs =' should be read as
a single line up to 'left;'
Paul
> -----Original Message-----
> From: Gerrie Warner [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 09, 2003 11:01 PM
> To: [EMAIL PROTECTED]
> Subject: [wdvltalk] window position?
>
>
> I have this code to open a new browser window:
> onmousedown="MM_openBrWindow('kmf.htm','kmf','width=200,height=200')
>
> How does one position it? Cenetered in screen left Right margins?
>
> TIA!
>
> //Ger
>
>
> ____ � The WDVL Discussion List from WDVL.COM � ____
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
> Send Your Posts To: [EMAIL PROTECTED]
> To change subscription settings to the wdvltalk digest version:
> http://wdvl.internet.com/WDVL/Forum/#sub
>
> ________________ http://www.wdvl.com _______________________
>
> You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to %%email.unsub%%
>
>
>
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]