Html page size

outlawstar4761

In Runtime
Messages
186
I've looked all over and I can't figure this out. You know how sometimes when you click on a page the page you get directed to is a different size? (usually smaller, like a window or something). How do you do that???
 
In the <head> section:

<script>
function changeScreenSize(w,h)
{
window.resizeTo( w,h )
}
</script>

In the <body> tag:

<body onload="changeScreenSize(500,300)">

Source

Hope this helps! :)
 
Back
Top Bottom