Solved

Fullscreen with Javascript

Posted on 1999-01-24
2
289 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now