<meta http-equiv="X-UA-Compatible" content="IE=8" />
<body dir="rtl" onload="FullScreenWindow();">
function FullScreenWindow() {
//window.moveTo(0,0);
//resizeTo(screen.availWidth,screen.availHeight);
window.moveTo(0, 0);
if (document.layers) // navigator 4+
{
var deltaX = screen.availWidth - window.outerWidth;
var deltaY = screen.availHeight - window.outerHeight;
window.resizeBy(deltaX, deltaY);
} else if (document.all) // exploder 4+
{ resizeTo(screen.availWidth, screen.availHeight); }
}
<body dir="rtl" onload="FullScreenWindow();">
function FullScreenWindow() {
//window.moveTo(0,0);
//resizeTo(screen.availWidth,screen.availHeight);
window.moveTo(0, 0);
if (document.layers) // navigator 4+
{
var deltaX = screen.availWidth - window.outerWidth;
var deltaY = screen.availHeight - window.outerHeight;
window.resizeBy(deltaX, deltaY);
} else if (document.all) // exploder 4+
{ resizeTo(screen.availWidth, screen.availHeight); }
}