当浏览器窗口大小改变时,使用大小调整事件的框架的解决方案如下:

复制代码代码如下所示:
$(窗口)。调整大小(函数(){)
VaR的苏赫=美元(窗口)Height();
$(。pic_conent )高度(苏赫);
}


当浏览器改变时,美元时间,没有响应;

Methods: a method of adding onLoad= on the label onResize= method to write the corresponding to two methods: (window.onresize=function) {///.....} within the method code can be written on the corresponding two kinds of basic methods to solve your problem.

复制代码代码如下所示:
窗口。onresize =函数(){
VaR的苏赫=美元(窗口)Height();
$(。pic_conent )高度(苏赫);
}