In theory the following line has to do it.
window.resizeTo(screen.width, screen.height);
But for some reason this does not work in IE. If you call window.moveTo(0,0) before calling resizeTo() it works.
I.e. if you add the following JavaScript lines in your page which is opened in a pop-up it will be resized to the screen width and height when the page is loaded.
window.moveTo(0,0);
window.resizeTo(screen.width, screen.height);
No comments:
Post a Comment