iframe引用的页内window.onload事件处理中取window.documentElement.clientHeight值的诡异现象! 先设置一个延时 (setTimeout()) 然后再alert出来看一下 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 @raidenraynor,受教!!!改成这样就好了:window.onload=function (){ setTimeout(doit,0);}function doit(){ alert("1: "+document.documentElement.clientHeight); alert("2: "document.documentElement.clientHeight); clientHeight = document.documentElement.clientHeight;} java web 程序 daoimpl 求widow窗口 总是跑到前面原因 为什么在火狐显示跟IE不同的 我是新手,有几个问题想请教高人,谢谢!! 关于无满意结贴 select控件和input控件联动的问题 好深奥的 代码,我只看懂了一点点,高分请教 在firefox下如何判断一个js是否加载完毕 帮忙修改成为vbscript 函数封装 小例子 在本网页中实现open窗口的双击关闭 求助 有一段代码在IE中可以运行,在FF中不行
window.onload=function (){
setTimeout(doit,0);
}function doit(){
alert("1: "+document.documentElement.clientHeight);
alert("2: "document.documentElement.clientHeight);
clientHeight = document.documentElement.clientHeight;
}