搜索

重置页面高度的函数

原创 2019-03-10 11:49:35 309
摘要://重置菜单高度 function resetMenuHeight(){ var height = document.documentElement.clientHeight -50; $('#menu').height(height); } //重置主操作区域高度 function resetMainHeigh
//重置菜单高度
function resetMenuHeight(){
		var height = document.documentElement.clientHeight -50;
		$('#menu').height(height);
	}
//重置主操作区域高度
function resetMainHeight(obj){
		var height = parent.document.documentElement.clientHeight -53;
		$(obj).parant('div').height(height);
	}


批改老师:韦小宝批改时间:2019-03-10 13:10:30
老师总结:写的很不错 layui搭建的这个页面菜单高度的确要这样去调

发布手记

热门词条