Possible Duplicate:
How to make in Javascript full screen windows (stretching all over the screen)
How do I emulate pressing F-11 in a browser using Javascript?
(I assume it will be different in Chrome,IE and FF?)
Possible Duplicate:
How to make in Javascript full screen windows (stretching all over the screen)
How do I emulate pressing F-11 in a browser using Javascript?
(I assume it will be different in Chrome,IE and FF?)
You can't. Browsers do not expose an API that makes this possible.
This used to be possible (anybody remember "chromeless windows" in IE4 or 5? Those were brilliant!) but isn't any more for security reasons.
Almost all browsers come with a "Kiosk mode" (Internet Explorer e.g. using iexplore -k
on the command line) that enables full-screen browsing but obviously, this has to be initiated on the client's end.
Using JS, - move the window to 0,0 make the width the same as the screen width, make the height same height as the page.