用javascript获取屏幕高度和宽度等信息 - 疯子的紫梦's 学习窝
Flash中与xml交互时不显示中文或显示乱码的解决办法
PHP javascript 系统集合

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

疯子的紫梦 posted @ 2010年5月07日 23:07 in Flash , 1623 阅读

网页可见区域宽: 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
UPMSP 6th Question 说:
2023年9月04日 16:58

Students Practicing UPMSP 6th Important Question paper 2024 helps the Students to Perform well in the Public Exam 2024, Here we have Compiled the UP Board Model Paper 2024, Students can Download the Guess Paper of all the Subjects Social Science, Scince, Mathematics, Hindi, English, The board will soon Release the UP Question 2024 for the Remaining Subjects as well.Students UPMSP 6th Question Paper 2024 Check the UP Model Paper 2024 this Web page Provide Direct links for Subject Wise pdf Download, Important Questions That Appear in Examination 2024 are as per the Pattern issued by Uttar Pradesh Madhyamik Shiksha Parishad Students Pass Exam with Outstanding Marks.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter