|
-
July 18th, 2001, 08:21 AM
#1
Start the web page on maximum size
Hi Gurus,
How do I maximized the web page in code when it loads on the browser?
Thanks in advance.
MsJane
-
July 18th, 2001, 08:34 AM
#2
Re: Start the web page on maximum size
*****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()">
-
July 18th, 2001, 09:41 AM
#3
Re: Start the web page on maximum size
Hi Mikael99,
thank you very much.
MsJane
-
July 18th, 2001, 10:13 AM
#4
Re: Start the web page on maximum size
Hi Mikael99,
Your code works in Nescape but not in Internet Explorer. Any idea?
Thanks.
MsJane
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|