Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

Fullscreen with Javascript

I have no Problem to open a Browser-Window at a fixed size.
How can I open a fullscreen-window with java script.
Should work for IE4 and Netscape 4.
Thanks
0
da2121
Asked:
da2121
1 Solution
 
rafisternCommented:
In IE4+ you can use the parameter "fullscreen=1" to open a window taht will full screen to cover the entire screen (like hitting f11) with no window borders.

To full screen a regular window in IE4 do:

moveTo(0,0);
resizeTo(screen.availWidth,screen.availHeight);

or set in the open() command:

open("","","...top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight);


In NS4 you cannot get the screen dimensions.

0
 
da2121Author Commented:
Thanks for your reply
Eugen
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now