positioning a window on the screen

wxdqz

New Member
hallo

i would like to place a new window in a particular place on the screen. what do i have to consider? in this special case i'd like the window to open in the middle of the screen?

<SCRIPT LANGUAGE="JavaScript" type="text/javascript">

window.open('man.html','maenner','width=800,left=screen.width/2,top=screen.height/2,screenX=screen.width/2,screenY=screen.width/2,height=600,scrollbars=no,resizable=no,status=no');

</SCRIPT>


thanks, simon
 
Back
Top