gi*******************@yahoo.com said the following on 8/14/2006 9:04 PM:
I want to disable scrolling when a window is maximized on IE...
So, if my browser window is 1024x768 I don't get to scroll, but, if it
is 1024x767 or 1023x768 I get to scroll? How impressively intuitive.
Is there a way to tell if the window is maximized?
var windowIsMaximized = confirm('Is your window maximized?','No')
if (windowIsMaximized)
{
alert('This is annoying but the window is mazimized')
}
P.S. You should compare the size of a page window in IE7 versus IE6 on
the same resolution. They are not the same.
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/