61,112
社区成员
发帖
与我相关
我的任务
分享
//窗口大小变化
$(window).bind('resize',function() {
var mbox=$('body,html').css({'overflow':'hidden'}).find('.itembox').css({'width':parseInt($(window).width()-260)+'px'});
if($('#anymore_mid').length>0){
mbox.css({'height':poH.view_height()-parseInt($('#sitefoot').outerHeight(true))+'px'});
}else{
mbox.css({'height':poH.view_height()+'px'}).find('#pagebox').css({'height':($('#pagerbox').length>0)?poH.view_height()-parseInt($('#pagerbox').outerHeight(true))+'px':'inherit'});
}
});