Jigs Jigs - 1 year ago 98
Javascript Question

How to set Browser's window using jquery?

I want to change my browser's width and height using JavaScript and/or jQuery, is this possible?

Answer Source


In the head section:

function changeScreenSize(w,h){       
    window.resizeTo( w,h )     

In the body tag

<body onload="changeScreenSize(500,300)">
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download