这是一个创建于 4447 天前的主题,其中的信息可能已经有所发展或是发生改变。
if(thisfile == '/gongchenganli/20131122/428.html'){
$('.panel img').each(function(i){
var src = $(this).attr("src");
var img = new Image();
img.src = src;
if(img.onload){
tht = $(this).height();
if(tht < 460){
$(this).css({'margin-top':(460-tht)/2+'px'})
}
}
})
/gongchenganli/20131122/428.html 如果要改成任意目录 任意文件名 该怎么写
3 条回复 • 1970-01-01 08:00:00 +08:00
 |
|
1
crs0910 2013 年 11 月 25 日
直接去掉if不就完了
|
 |
|
2
acpp 2013 年 11 月 25 日
|
 |
|
3
Glow 2013 年 11 月 27 日
|