重置页面宽高的函数

原创 2019-04-11 23:18:33 221
摘要: //重置导航高度和主内容区的宽高 function resetMenuHeight(){ var height = document.documentElement.clientHeight-50; $("#menu").height(height); } function resetMainHeight(){
	//重置导航高度和主内容区的宽高
	function resetMenuHeight(){
		var height = document.documentElement.clientHeight-50;
		$("#menu").height(height);
	}
	function resetMainHeight(){
		var height = document.documentElement.clientHeight-50;
		var width = document.documentElement.clientWidth-200;
		$("#main").height(height);
		$("#main").width(width);
	}


批改老师:天蓬老师批改时间:2019-04-12 09:15:25
老师总结:你的代码就这些吗? 总感觉不完整, 是不是少了点什么?

发布手记

热门词条