# IE 5.0 + full Screen from itself

> Markdown version of https://brajeshwar.com/2002/ie-50-full-screen-from-itself/ — 2002-06-27

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

```js
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();"`.
