hi!
I think you should try to do like
this:
var page = "welcome.htm";
windowprops =
"height=screen.heigth,width=screen.width,location=no,"
+ "scrollbars=no,menubars=no,toolbars=no,resizable=no";
window.open(page, "Welcome", windowprops);
windowprops =
"height=screen.heigth,width=screen.width,location=no,"
+ "scrollbars=no,menubars=no,toolbars=no,resizable=no";
window.open(page, "Welcome", windowprops);
But this will work if
you specify:
<script
language="JavaScript1.2">
and i think it will work only in IE4.x or
higher
or Netscape 4.x .
Hope it helps.
Best wishes,
Andras
----- Original Message -----
From: Andrea Lardicci <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 05, 1999 1:06
PM
Subject: OFF TOPIC
winow.screen.availHeigth/Width
> I have another problem.
> Sometime ago I asked the list if anyone knew how to display a sevlet
> output in a new page of the browser without navigation bar and at full screen.
> Unfortunately I got no response/suggestion so I turn to javascript.
> I load an intermediate page that opens the page calling the servlet with
> the javascript function window.open() as follows:
>
> var page = "welcome.htm";
> windowprops =
> "height=window.screen.availHeigth,width=window.screen.availWidth,location=no,"
> + "scrollbars=no,menubars=no,toolbars=no,resizable=no";
> window.open(page, "Welcome", windowprops);
>
> That works fine with Netscape 4.X but not with IE 4.x as explorer open a
> window with the default size.
> Do you know why or a walkaround?
>
> Yes I know that it isn't closely related to servlet but ..... help me
> please ...
> provided that you all are not on vacation yet!!!!!
> AL
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
