Fullsize the window

[Total: 0    Average: 0/5]

This shows how to use javascript to bring a page to fullscreen size.

Body Code:

<a href="javascript:doIt()">full screen</a>

<script>
function doIt()
{
  var y=window.screen.height;
  var x=window.screen.width;
  window.moveTo(0,0);
  window.resizeTo(x,y);
}
</script>

Times Viewed: 1

Leave a Reply

Your email address will not be published. Required fields are marked *