View Full Version : window resize issue in ie 7

10-24-2007, 04:32 PM
Hello, I have a page that, when opened, resizes and centres using window.resize method.

It resizes fine on ff, safari, ie 5.5/6.
In ie 7 it works in a fresh window but not when I try it from a new tab in an existing window- it will not resize.

Trying it from a tab in ff is ok, so I was wondering if anyone could please confirm that this is a browser issue? Is there a work around?

Cheers, ilnux

10-25-2007, 01:11 PM
Hi ilnux,
Can we see your code?

10-25-2007, 02:41 PM
I'm not familiar with the window.resize method. I don't think it exists. There is a window.resizeTo(x, y) method, but that (and any other javascript that manipulates the window (as opposed to the content) is often blocked by any given browser, not just IE 7. It depends upon the browser's settings.

It's best to stick to manipulating content, not windows.