view-port resize vs document resize in IE

Posted by mkoryak on Stack Overflow See other posts from Stack Overflow or by mkoryak
Published on 2010-06-09T18:45:53Z Indexed on 2010/06/09 19:52 UTC
Read the original article Hit count: 226

window.resize event in IE doesnt do what i thought it does.

I thought it only triggered when the physical window/view-port changed size (ie user hits maximize on the browser window for example), but it is also triggered if i change the document size, introducing scroll bars.

is there any way to tell those two things apart: view port resize, and document resize without writing an elaborate hack?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about internet-explorer