Home / code

Fullscreen

Writer: Christophe Wolfs
Published: 27 March 2008

This is a small script to load your webpage to fullscreen, even if it is loaded in frames or put in a small window. Try it.

<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
//Code provided by http://www.webmaster2020.com
<!-- Begin
if (window != top) top.location.href = location.href;
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);
// End -->
</SCRIPT>

 

TOP