Commonly used long width ~

xiaoxiao2021-03-06  72

S = "/ R / N web page visible area width:" Document.body.clientwidth;

S = "/ R / N web page visible area is high:" Document.body.clientHEIGHT;

S = "/ r / n web page visible area high:" Document.Body.offSetWeight "(including the width of the edge);

S = "/ R / N web page visible area high:" Document.Body.OffsetHeight "(including the width of the edge);

S = "/ r / N web page text full text:" Document.body.scrollwidth;

S = "/ R / N web pages full text high:" Document.Body.ScrollHeight;

S = "/ R / N web page is rolled with high:" Document.body.scrolltop;

S = "/ r / n web page is rolled away:" Document.Body.Scrollleft;

S = "/ R / N web page text section:" WINDOW.SCREENTOP;

S = "/ R / N web page body part left:" window.screenleft;

S = "/ R / N screen resolution is high:" window.screen.height;

S = "/ R / N screen resolution width:" window.screen.width;

S = "/ R / N screen available workspace height:" window.screen.availheight;

S = "/ R / N screen available work area width:" window.screen.availwidth;

转载请注明原文地址:https://www.9cbs.com/read-93441.html

New Post(0)