jquery get width and height of the page is visible in the browser
// part of the jQuery function $ (window) .height () // browser window nowadays highly visible area of $ (the Document) .height () // height of the browser window nowadays document $ (document.body) .height () // browser window nowadays the document body height $ (document.body) .outerHeight ( to true ) // total height of the body of the document window nowadays browsers include padding margin border $ (window) .width () // browser window nowadays viewing area width $ (the document) .width () // browser window nowadays as the width of the document for $ (document.body) .width () // browser window document body nowadays height of $ (document.body) .outerWidth ( to true ) // total width of the browser window nowadays the document body, including border padding
The following is a JS code
== document.body.clientWidth> the BODY The object width document.body.clientHeight ==> the BODY target height document.documentElement.clientWidth ==> visible region width document.documentElement.clientHeight ==> visible region height document.body.clientWidth ==> page wide visible region document.body.clientHeight ==> page visible area high document.body.offsetWidth ==> page wide visible region (including edge width) document.body.offsetHeight ==> pages high visible region (including the high edge) document.body.scrollWidth ==> full body of the page width document.body.scrollHeight ==> high full body of the page document.body.scrollTop ==> page volume to be high document.body.scrollLeft ==> page is rolled to the left window.screenTop ==> on the part of the body of the page window.screenLeft ==> page left body parts window.screen.height ==> screen high resolution window.screen.width ==> screen available work area height window.screen.availHeight ==> screen available work area height window.screen.availWidth ==> available workspace screen width