前锋加速器
前锋加速器暨企業社會責任
"));
$(this).click(function(){
var newWin = open('url','圖片內容描述','height=500,width=500');
newWin.document.write("前锋加速器
說明" + $(this).attr("data-desc").replaceAll("undefined","") + "
");
});
$(this).keydown(function(event){
if( event.which == 13 ) {
$(this).click();
}
});
}
}); */
//if ($('img:not([data-desc=""]').length > 0){
if ($('.main img[data-desc]').length > 0) {
$(".content").html("圖片說明
" + $(".content").html());
}
$("a,area,input,select,textarea,button,iframe,img:not([data-desc='']").attr("tabindex", "2");
$(".lb-overlay").each(function () {
$(this).find(".lb-prev").attr("href", "#" + $(this).prev().attr("id"));
$(this).find(".lb-next").attr("href", "#" + $(this).next().attr("id"));
});
//本文長度不夠時, 圖片會超出本文的綠底線. 所以加此處理
//if ($("#content_p").height() < $(".picbox img").height() + 30 && $(".picbox img").length > 0) {
// $("#content_p").height($(".picbox img").height() + 30);
//}
$(".unwrapDataBox").unwrap();
$(".unwrapDataBox2times").unwrap();
});
警語