window.οnresize=function(){ var surH = $(window).height(); $(".lefter").height(surH); } $(function () { var h=document.documentElement.clientHeight; $(".lefter").css("height",h); $("#content").css({"maxHeight":h,"overflow":"auto"}); })
左侧菜单 高度自适应浏览器高度
最新推荐文章于 2021-01-22 15:01:34 发布