[Javascript] Open Maximized Window

Håkan Magnusson hakan at backbase.com
Thu Oct 30 04:01:41 CST 2003


Hmm.

How about the maximize attribute?

var 
popupURL="report_builder.asp?report=blr_report_certificate.asp&search_no=";
window.open(popupURL,"Popup",'toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=0,maximize=1');

Nazir Wasim Ahmed wrote:
> Thanx everybody for ur suggestions...
> 
> peter,
> Fullscreen mode is a problem, i don't want it that way.
> 
> still searching for a way.
> 
> 
> Nazir
> 
> 
>>-----Original Message-----
>>From: javascript-bounces at LaTech.edu 
>>[mailto:javascript-bounces at LaTech.edu]On Behalf Of Peter Brunone
>>Sent: Thursday, October 30, 2003 7:57 AM
>>To: '[JavaScript List]'
>>Subject: RE: [Javascript] Open Maximized Window
>>
>>
>>
>>	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
>>
>>
>>_______________________________________________
>>Javascript mailing list
>>Javascript at LaTech.edu
>>https://lists.LaTech.edu/mailman/listinfo/javascript
>>
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
> 
> .
> 




More information about the Javascript mailing list