rondog Posted August 5, 2008 Share Posted August 5, 2008 I know how to detect their resolution and whatnot, but what about the area that is visible in the browser..ie: not including the browser chrome, scrollbars, navigation buttons, address bar etc. any idea? Link to comment https://forums.phpfreaks.com/topic/118335-solved-detect-users-viewport-not-window-size/ Share on other sites More sharing options...
rondog Posted August 5, 2008 Author Share Posted August 5, 2008 var w = window.innerWidth; var h = window.innerHeight; seemed to do the trick Link to comment https://forums.phpfreaks.com/topic/118335-solved-detect-users-viewport-not-window-size/#findComment-609012 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.