|
|
Q212 Is it possible to maximise the current window?
irt.org | Knowledge Base | JavaScript | Window | Q212 [ previous next ] Q212 Is it possible to maximise the current window?Only in Netscape 4:
A href="nicklowe@ukonline.co.uk">Nick Lowe writes: I have written a simple script that automatically maximises the browser window when it is loaded within a webpage in both Netscape and Internet Explorer. The script goes as follows: <script language="JavaScript"> window.moveTo(0,0); if (IE) { window.resizeTo(screen.availWidth,screen.availHeight); } if (NS) { window.outerHeight = screen.availHeight; window.outerWidth = screen.availWidth; } </script>Feedback on 'Q212 Is it possible to maximise the current window?' |
-- div -->
|