如何得到页面的宽度和高度,不是IE的宽度和高度? alert(document.body.scrollHeight); alert(document.body.scrollWidth); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 alert(document.body.clientHeight); alert(document.body.clientWidth); alert(document.body.offsetHeight); alert(document.body.offsetWidth); scrollHeight是加了滚动条的高度,我的意思是只要IE显示页面的高度就是除去IE的工具栏和windows任务栏后剩下的高度 alert(document.body.clientHeight); alert(document.body.clientWidth); 页面除去margin的高和宽 alert(document.body.offsetHeight); alert(document.body.offsetWidth); 页面整个区域的高和宽,不包括工具栏滚 动条之类看MSDN有详细的解释 的 求弹层的js,层是自动生成的,可以连续弹层几个,在线等 谁帮我做个JS特效 javascript读取远程.txt文件,出现乱码 在以上html代码上,请教图片一张一张显示的代码? 全选treeview的所有节点的复选框的JS代码 js问题 求助高手 求实现下面功能的javascript代码 下拉列表框的问题??? JavaScript里有记录集的概念吗,怎么从数据库中取数据!!!!急!!!! javascript如何实现网页下载的进度条功能? js如何知道当前多少级目录或路径 哪位大虾帮帮忙,给100分
alert(document.body.clientWidth);
alert(document.body.offsetHeight);
alert(document.body.offsetWidth);
alert(document.body.clientWidth);
页面除去margin的高和宽 alert(document.body.offsetHeight);
alert(document.body.offsetWidth);
页面整个区域的高和宽,不包括工具栏滚 动条之类看MSDN有详细的解释 的