IE 7 and pop up windows, fixed size

Hey,I don't know if this will help you, but one of our devs came up with this code:

Code:

if ((document.documentElement) && (typeof document.documentElement.style.maxHeight != "undefined")) {//browser = 'IE7, mozilla, safari or opera'; resizeTo(newWidth,newHeight);}

Which basically says that if the browser is detected as being IE7, mozilla, safari or opera, resize the window... there are obvious issues if you have to support Mozilla also, but if you're only supporting an IE environment...Edited By: skye on 2007-2-21 17:14:20

Discussions have been disabled for this post