![尺寸最大的十大免費直播平臺]()
_big){
_big = _ah[j];
}
}
$('.honor_list').css('height',_big+25);
}else if(w_w>520){
for(var i=0;i<_li.length;i++){
_h[i] = _li.eq(i).outerHeight()+18;
var mostLong=_ah[0];
var _num = 0;
for(var aa=0;aa<_ah.length - 1;aa++){
if(mostLong > _ah[aa]){
mostLong = _ah[aa];
_num = aa;
}
}
if(_num%2 == 0){
_li.eq(i).attr("class",'honor_one one');
_li.eq(i).css('top',_ah[0]);
_ah[0] = _ah[0] + _h[i];
}else if(_num%2 == 1){
_li.eq(i).attr("class",'honor_one two');
_li.eq(i).css('top',_ah[1]);
_ah[1] = _ah[1] + _h[i];
}
}
for(var j=0;j<_ah.length;j++){
if(_ah[j] > _big){
_big = _ah[j];
}
}
$('.honor_list').css('height',_big+25);
}else{
$(".honor_list .honor_one").each(function(){
$(this).attr("class","honor_one").css("top",0);
});
$('.honor_list').css('height',"auto");
}
}
fullShow();
$(".honor_list .honor_one img").bind("load",function(){fullShow();});
$(window).resize(function(){setTimeout(function(){fullShow();},200)});
//點擊彈窗
$(".honor_list .honor_one").click(function(){
var newImg = $(this).find("img").attr("src");
$(".honor_pop img").attr("src",newImg);
$(".honor_pop").fadeIn();
});
$(".honor_pop .honor_close").click(function(){
$(".honor_pop").fadeOut();
});
})
""