Link to home
Start Free TrialLog in
Avatar of jmeiss
jmeiss

asked on

using <body onload> to set size of window as it opens

I have a webpage that I want to automatically resize as soon as someone navigates to it - and I think the <body onload> handler would work best (?)...

Any help would be appreciated

Thanks in advance

-Jeremy
ASKER CERTIFIED SOLUTION
Avatar of archrajan
archrajan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jmeiss
jmeiss

ASKER

So I would do the following:

<body onload="window.resizeTo(800,600);">

correct?
yeah where width is 800 and height is 600