用javascript获取屏幕高度和宽度等信息 - zzwind's Blog

用javascript获取屏幕高度和宽度等信息

zzwind posted @ 2010年5月07日 23:07 in Flash , 619 阅读
lovefang

网页可见区域宽: document.body.clientWidth
网页可见区域高: document.body.clientHeight
网页可见区域宽: document.body.offsetWidth (包括边线的宽)
网页可见区域高: document.body.offsetHeight (包括边线的高)
网页正文全文宽: document.body.scrollWidth
网页正文全文高: document.body.scrollHeight
网页被卷去的高: document.body.scrollTop
网页被卷去的左: document.body.scrollLeft
网页正文部分上: window.screenTop
网页正文部分左: window.screenLeft
屏幕分辨率的高: window.screen.height
屏幕分辨率的宽: window.screen.width
屏幕可用工作区高度: window.screen.availHeight
屏幕可用工作区宽度: window.screen.availWidth

Avatar_small
NCERT Mathematics Qu 说:
2022年9月29日 13:36

Mathematics helps us understand the world and provides an effective way of building mental discipline. Math encourages logical reasoning, critical thinking, creative thinking, abstract or spatial thinking, problem-solving ability, and even effective communication. NCERT has introduced the solved question bank with sample paper suggestions for all topics of maths along with solutions. problem-solving ability, NCERT Mathematics Question Paper Class 9 and even effective communication. NCERT has introduced the solved question bank with sample paper suggestions for all topics of maths along with solutions.

Avatar_small
Gujarat 3rd Class S 说:
2023年7月21日 16:34

Gujarat Conducts the Examination for 3rd to Examine the knowledge and Academic Progress of Students and Promote Them to a High School Level, Primary Students are Advised to get Familiar with the Gujarat Syllabus 2024 Details Thoroughly before Starting Preparing for the Examination 2024.Gujarat Board Maths, EVS, English and Gujarati Syllabus 2024 are Designed with the idea to Foster Creative Gujarat 3rd Class Syllabus 2024 Thinking and the Intelligence of Primary School Students, Students who wish to Score High in the Exam, can now Download the Syllabus and Start Studying for the Exam 2024, Students of Both Elementary Various Class Could Download the GCERT Syllabus 2024 as PDF format.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee