sanjG wrote:
Quote:
Hi, is there anyway of opening an HTML page in internet explorer which would
fill up the screen to the users set resolution??
for example, my screen res is 1024x768 and when i open my html file, internet
explorer will open the page and read some code that will tell it to open the
page and resize it to 1024x768
regrads
sanjay
I found this code:
|
<script language="JavaScript">
window.onload = maxWindow;
function maxWindow()
{
window.moveTo(0,0);
if (document.all)
{
top.window.resizeTo(screen.availWidth,screen.avail Height);
}
else if (document.layers||document.getElementById)
{
if
(top.window.outerHeight<screen.availHeight||top.wi ndow.outerWidth<screen.availWidth)
{
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
}
</script>