itsmeArry Posted March 7, 2007 Share Posted March 7, 2007 ??? I need to trap the event that is fired when a window is maximized. I know there is a way to trap the event when a window is resized "window.resize" but I need to trap the event only when the window is maximized. any help or a hint would be apprciated.... Thanks in advance ... Quote Link to comment Share on other sites More sharing options...
fenway Posted March 7, 2007 Share Posted March 7, 2007 I don't actually know if there's a cross-browser onmaximize event handler... Quote Link to comment Share on other sites More sharing options...
mainewoods Posted March 8, 2007 Share Posted March 8, 2007 trap the resize event and test the new browser window size and if it equals the users desktop size, then perform your function. Here's a page that has the properties you would need but I understand there is quite a bit of cross browser differences in this area and I can't help you with that: http://www.w3schools.com/htmldom/dom_obj_window.asp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.