MsJane
July 18th, 2001, 08:21 AM
Hi Gurus,
How do I maximized the web page in code when it loads on the browser?
Thanks in advance.
MsJane
How do I maximized the web page in code when it loads on the browser?
Thanks in advance.
MsJane
|
Click to See Complete Forum and Search --> : Start the web page on maximum size MsJane July 18th, 2001, 08:21 AM Hi Gurus, How do I maximized the web page in code when it loads on the browser? Thanks in advance. MsJane Mikael99 July 18th, 2001, 08:34 AM *****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()"> MsJane July 18th, 2001, 09:41 AM Hi Mikael99, thank you very much. MsJane MsJane July 18th, 2001, 10:13 AM Hi Mikael99, Your code works in Nescape but not in Internet Explorer. Any idea? Thanks. MsJane codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |