Solved

Fullscreen with Javascript

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Web Site Hosting 10 68
Which is better to create html using .html or append a node 4 60
Bing Maps 1 34
Import csv files to MS SQL 5 60
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
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…

706 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

11 Experts available now in Live!

Get 1:1 Help Now