There was some discussion on the Macromedia Flash Forum about Full screen from the page itself. I just thought I will share that too here. You may alternatively have the click to be onLoad of the Body so that the browser goes fullscreen on load itself.
Have the folllowing Javascript
function fullscreen(){
var hdiff;
window.moveTo(-4,-4);
window.resizeTo(screen.width,screen.height);
hdiff=window.screenTop;
window.moveTo(-6,-hdiff-7);
window.resizeTo(screen.width+13,screen.height+hdiff+35)
}
and on your link put a href=”"javascript:fullscreen();”
Brajeshwar posted this article
on Thu, Jun 27th, 2002 at 12:02 am
Categorized under Technology








Comments Post Yours
There are 9 responses so far. You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.
thanks a lot ..that was really useful..spent quite a few hours and found only your code that matched the requirement i had
How do I get back to a regular browser screen. Do I have to shut down the browser to do this? Hitting F11 doesn’t do it.
Thanks Thanks Thanks It realy works. Thanks again.
and on your link put a href=”"javascript:fullscreen();”
link? WHERE ?
Well the link can be any link on your page, it can be something like “Launch Full Screen”.
you can putin your body tag;
You can put onLoad=”fullscreen()” in your body tag
Apologies - hope I’m not being stupid but can somebody show me a site where they have got this “fullscreen” code to work. I’ve played around for a bit -trying to get the fullscreen effect “onLoad” but can’t make it work.
Thanks,
Chris
Hi
Any chance to get this to work on IE 7??
The example above does not work on IE 7, only on IE6
Cheers
Post yours