标签:
$(function(){ resizeU(); $(window).resize(resizeU); }); function resizeU() { var divkuangH = $(window).height(); $(".main").height(divkuangH - 137 ); }
当浏览器窗体改变时,div跟着变动方法
原文地址:http://www.cnblogs.com/haoxuan/p/5719556.html