PDA

View Full Version : Open new window at 100 percent



mattyshack
January 6th, 2006, 02:49 PM
I am trying to find some javascript to open a new winow to 100 percent width and height of the users screen, regardless what their resolution is set to. I want to accomplish this without using the 'fullscreen' attribute which completely takes over the desktop. Anyone have anything?

antizip
January 6th, 2006, 05:25 PM
Try this


<script language="javascript" type="text/javascript">
window.onload = makefull;

function makefull(){
window.resizeTo(screen.width,screen.height);
window.moveTo(0,0);
}
</script>


and piss people off like a mofo

real_illusions
January 7th, 2006, 02:24 PM
and piss people off like a mofo

yep...i hate windows that automatically resize to the size of the screen.