This is probably a vague question, so I apologize in advance. I'm just wondering if there's any method (Javascript, server side or otherwise) that could somehow detect if any portion of a browser window is not visible on the screen.
For example, perhaps I almost maximize my browser window, then grab it and drag it with some of it off the screen...can that fire any Javascript / ajax event to find out how much of the viewport is "not visible," enabling me to add a class to the document or something that would adjust the styling, or is that an OS level event/variable that can't be communicated to a web app?