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 ... Link to comment https://forums.phpfreaks.com/topic/41608-how-to-trap-maximize-event-of-window/ 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... Link to comment https://forums.phpfreaks.com/topic/41608-how-to-trap-maximize-event-of-window/#findComment-201920 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 Link to comment https://forums.phpfreaks.com/topic/41608-how-to-trap-maximize-event-of-window/#findComment-202134 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.