[Javascript] Open Maximized Window
Peter Brunone
peter at brunone.com
Wed Oct 29 20:26:46 CST 2003
Can't you also open an IE window in kiosk mode by adding
fullscreen=yes to the window.open parameters? This basically takes over
the whole screen; the only way to get out of it is to alt-tab to another
application or maybe F12 (I think). Needless to say, you need to
provide an obvious way out if you use this method.
Cheers,
Peter
-----Original Message-----
From: javascript-bounces at LaTech.edu
[mailto:javascript-bounces at LaTech.edu] On Behalf Of Alan Easton
As far as I know, there is no api that will open a window in maximised
mode.....I could be wrong, so if someone else knows.....??
As far as I know, all you can do is (with NN4 and IE4/5) open the window
at
position 0,0 with dimensions equal to the screen dimensions....
-----Original Message-----
From: Nazir Wasim Ahmed [mailto:nazirwa at sakinfotech.co.in]
Hi Alan,
I need a window maximized, not resized. I don't want the "maximize" icon
in the top right hand corner but the "resize" icon.
would appreciate ur assistance
Nazir
> -----Original Message-----
> From: javascript-bounces at LaTech.edu
>
> You need to put this in the <head> section of the page that you want
> maximised:
>
> <script language="JavaScript1.2">
> <!--
> top.window.moveTo(0,0);
> if (document.all) {
> top.window.resizeTo(screen.availWidth,screen.availHeight);
> }
> else if (document.layers||document.getElementById) {
> if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<
screen.ava
> ilWidth){
> top.window.outerHeight = screen.availHeight; top.window.outerWidth =
> screen.availWidth; }
> }
> //-->
> </script>
>
> This should ensure the window is always maximised when it is opened.
>
> -----Original Message-----
> From: Nazir Wasim Ahmed [mailto:nazirwa at sakinfotech.co.in]
>
> Howdy List,
>
> I need to open a new window in the maximized mode.
> can anyone pls guide me on this...
> currently I am using
>
> var popupURL
> ="report_builder.asp?report=blr_report_certificate.asp&search_no=";
> window.open(popupURL,"Popup",'toolbar=1,location=1,directories=1,s
tatus=1,me
> nubar=1,scrollbars=1,resizable=1,maximize=0');
>
> Thanx in advance
>
> Nazir
More information about the Javascript
mailing list