Solved

Fullscreen with Javascript

Posted on 1999-01-24
2
299 Views
Last Modified: 2013-12-25
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
Comment
Question by:da2121
2 Comments
 
LVL 4

Accepted Solution

by:
rafistern earned 100 total points
ID: 1859174
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
 

Author Comment

by:da2121
ID: 1859175
Thanks for your reply
Eugen
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question