Hi Gurus,
How do I maximized the web page in code when it loads on the browser?
Thanks in advance.
MsJane
Printable View
Hi Gurus,
How do I maximized the web page in code when it loads on the browser?
Thanks in advance.
MsJane
*****Cut below here and add it between <head> and </head>****
<SCRIPT LANGUAGE="JavaScript">
<!--
function maximizeWin()
{
if (window.screen)
{
var aw = screen.availWidth;
var ah = screen.availHeight;
window.moveTo(0, 0);
window.resizeTo(aw, ah);
}
}
</SCRIPT>
***END CUT HERE****
ANd a body tag that looks like this:
<body OnLoad="javascript:maximizeWin()">
Hi Mikael99,
thank you very much.
MsJane
Hi Mikael99,
Your code works in Nescape but not in Internet Explorer. Any idea?
Thanks.
MsJane