就是关于框架的。如果浏览器的高度大于900px时显示bottom底部的框架。麻烦各位了
解决方案 »
- easyui tabs取子面板问题。
- function.apply(this,arr)中的this指的是什么?
- 访问节点问题 ! ! !
- 如何判断输入的只能为数字和英文逗号
- 求一个正则表达式
- 有关Textbox,如何将一Textbox的不相同的字符添加到另一Textbox中
- 请问大家,有没有比较好的网页,
- 请问在javascript中如何使一张图片重定向到另外一张图片?谢谢!
- 求高人帮忙解下这段JS,搞了2天都没解出来。。。
- websocket 连接出错,access_denied,有大神遇到过这个问题吗?怎么解决的?
- 如何处理firefox下链接单击
- 50分请教js跨域获取ifrme内容我的解决方案
就是我采用的框架集页面,顶部 中部(分为左侧、右侧) 底部。我想让底部在浏览器高度大于900px以上时显示底部的内容。<frame name="bottom" scrolling="no" noresize src="3.html" frameborder="0">
当if(documnet.getElementById("底部id").style.height>900){
documnet.getElementById("底部id").style.display = "block";
}
就可以了
documnet.getElementById("底部id").style.display = "block";
}
var H = (window.innerHeight|| (document.documentElement&&document.documentElement.clientHeight) || document.body.clientHeight || 0);if(H > 900){
documnet.getElementById("底部id").style.display = "block";
}