高度自适应
来源:互联网 发布:女神联盟11进阶数据 编辑:程序博客网 时间:2024/04/28 19:55
//高度自适应
function resetSize(){
var headerHeight=80;
footerHeight=50,
bodyHeight=window.innerHeight-headerHeight-footerHeight,
IE8bodyHeight = document.documentElement.clientHeight,
oMid = document.getElementById("index4Pic");
$("#leftFrame").css("height", bodyHeight-40-5);
$(".rightContent").css("height", bodyHeight-80);
if(!bodyHeight && oMid){
oMid.style.height = IE8bodyHeight/2+120 ;
}
}
function resetSize(){
var headerHeight=80;
footerHeight=50,
bodyHeight=window.innerHeight-headerHeight-footerHeight,
IE8bodyHeight = document.documentElement.clientHeight,
oMid = document.getElementById("index4Pic");
$("#leftFrame").css("height", bodyHeight-40-5);
$(".rightContent").css("height", bodyHeight-80);
if(!bodyHeight && oMid){
oMid.style.height = IE8bodyHeight/2+120 ;
}
}
0 0
- 自适应高度
- 自适应高度
- 高度自适应
- 自适应高度
- 自适应高度
- 自适应高度
- 自适应高度
- 自适应高度
- 高度自适应
- Vickate_iOS_UILable自适应宽度/自适应高度
- iframe自适应高度【框架自适应高度】
- Textarea 高度自适应 根据内容自适应高度
- Textarea 高度自适应 根据内容自适应高度
- DIV高度自适应,折叠菜单高度自适应
- UIlabel自适应高度和UITableViewCell自适应高度
- label自适应高度 与 textview自适应高度
- UITableViewCell高度自适应Label高度
- Iframe高度自适应
- SAT写作全部真题+OG+OC完整版(2)
- C#基础-----抽象类实现多态
- 【PAT 乙级(Basic Level)】数字黑洞
- HttpURLConnection(一)
- 黑马程序员——java反射基础总结
- 高度自适应
- SAP Calendar 设置
- linux基本命令<2>
- hibernate执行sql优化
- 5.3.3 Validate Binary Searh Tree
- MySql语句总结
- Fresco 如何在Android Studio中编译
- Spring -- framework 各版本源码下载地址
- java 线程池