documentelement专题

document.documentElement.clientWidth为0的问题

1. http://www.cnblogs.com/ConjurerYang/archive/2009/08/12/1544251.html 2. http://hi.baidu.com/bluedream_119/item/26db5a73c9774344ee1e532a   1、javascript中的 document.body.clientHeight 和 document.do

关于Chrome(谷歌浏览器)对document.documentElement.scrollTop识别

最近做一个瞬间信息显示浮动层时,IE、Firefox下都能显示正常,但Chrome下出现了浮动层永远显示在上面,经过仔细分析,发现Chrome对document.documentElement.scrollTop的识别会出现误差。不过加上document.body.scrollTop后,则显示正常。   网友提示:由于document.documentElement.scrollTop和doc

解决动网论坛Bug缺少对象: 'Application(...).documentElement.selectSingleNode(...)'

最近向动网v8.2中导入用户以及帖子数据,但是当导入帖子数据的时候出现了令人郁闷了好几天的错误。终于解决了! 在使用动网论坛8.2版本导入用户数据的时候会出现让人摸不着头脑的错误如下: Microsoft VBScript 运行时错误 错误 '800a01a8' 缺少对象: 'Application(...).documentElement.selectSi

document.documentElement.clientWidth与document.body.clientWidth在浏览器滚动条的情况下,值是不一样的

document.documentElement.clientWidth document.documentElement.clientHeight document.body.clientWidth document.body.clientHeight   body与documentElement这两个属性在浏览器的body设置成<body style="overflow:hidden