Save the following JS as: mail_fullscreen.js file
//
Simplify version of the function, only suitable for IE5.0, Windows XP or above
FUNCTION
Modelscreen (Struri, X, Y, Width, Height) {FullWindow
=
Window.open (Struri,
"
Full
"
,
"
Width =
"
(Width)
"
HEIGHT =
"
(HEIGHT)
1
)
"
, Toolbar = 0, location = 0, Directories = 0, Status = 0, menubar = 0, Scrollbars = 0, ResizAble = 0
"
Fullwindow.moveto (x, y); fulwindow.focus ();
/ *
The following functions are suitable for all mainstream browsers and operating system parameters description: WindowWith: Window Width WindowHeight: Window Height Windowx: Window Starting Point XWindowy: Window Start Y
* /
FUNCTION
Gffullscreen (Struri) {
VAR
Strappver
=
Navigator.appversion;
VAR
Strapnm
=
Navigator.Appname;
VAR
INTPOS
=
Strappver.indexof
"
Msie
"
,
0
);
VAR
Windowwith
=
Screen.availwidth
/
2
;
VAR
WINDOWHEight
=
Screen.availheight
/
2
;
VAR
Windowx
=
20
;
VAR
Windowy
=
20
;
IF
(strappver.indexof
"
Win
"
)
> =
0
) {
//
OS - Windows
IF
(strapnm.indexof
"
Microsoft
"
)
> =
0
) {
//
Browser - InternetExplorer
IF
(strapnm
==
"
Microsoft Internet Explorer
"
&&&&
PARSEINT (STRAPPVER)
> =
4
) {
//
Ieversion More 4
IF
(Parseint (strappver.slice)
5
, INTPOS
6
))
> =
6
) {
IF
(parseint (strappver.indexof
"
Windows NT 5.1
"
,
0
))
>
0
) {
//
Windowsxp
Fullwindow
=
Window.open (Struri,
"
Full
"
,
"
Width =
"
(WindowWith)
"
HEIGHT =
"
(Windowheight
1
)
"
, Toolbar = 0, location = 0, Directories = 0, Status = 0, MenuBar = 0, Scrollbars = 0, Resizable = 0
);
//
FullWindow.moveto (-5, -32); // When the full screen is full screen
Fullwindow.moveto (Windowx, Windowy);
//
Window.Location.href = "/ sgsoft";
Fullwindow.focus ();
Else
{
//
Not windowsxp
Fullwindow
=
Window.open (Struri,
"
Full
"
,
"
Width =
"
(WindowWith)
"
HEIGHT =
"
(Windowheight
1
)
"
, Toolbar = 0, location = 0, Directories = 0, Status = 0, menubar = 0, Scrollbars = 0, ResizAble = 0
"
);
//
Fullwindow.moveto (-5, -24); // Parameters when full screen
Fullwindow.moveto (Windowx, Windowy);
//
Window.Location.href = "/ sgsoft";
Fullwindow.focus ();}}
Else
{FullWindow
=
WINDOW.OPEN
""
,
"
Full
"
,
"
Fullscreen = 1, width =
"
(Windowwith
3
)
"
HEIGHT =
"
(Windowheight
1
)
"
, Toolbar = 0, location = 0, Directories = 0, Status = 0, menubar = 0, Scrollbars = 0, ResizAble = 0
"
);
//
Fullwindow.resizEther (Math.ceil (WindowWith 3), Math.ceil (WindowHeight 1));
Fullwindow.resizeto (Math.ceil (Windowwith
3
), Math.ceil (WindowHeight
1
));
//
FullWindow.moveto (0, 0); // Parameters when full screen
Fullwindow.moveto (Windowx, Windowy); FullWindow.Document.Open
"
Text / html
"
,
"
Replace
"
FullWindow.Document.write (
"