ShowModalDialog ('Test.htm');
-------------------------------------------------- -------------
First use Screen.Width and Screen.Height to get the window size, calculated to determine
-------------------------------------------------- -------------
Plus the body of the web page to open
Function BodyonLoad ()
{
Var Top = (WINDOW.SCREEN.AVAILHT-Document.body.clientHEight) / 2);
Var Left = (WINDOW.SCREEN.AVAILWIDTH-Document.body.ClientWidth) / 2);
Window.moveto (Left, TOP);
}
-------------------------------------------------- -------------
First understand one first
WINDOW.OPEN ('Help.htm', '', 'Width = 1000, Height = 750, TOP = 0, Left = 0, Scrollbars = YES')
you got it?
Try the value of top and left to get it.
How to calculate, look at you.
Can be used upstairs