方正東
2013年9月8日 18:44
");
$(".story_photo .videoPlay").hover (
function(){$(this).css({"opacity":"0"})},
function(){$(this).css({"opacity":"1"})}
)
}
//照片區塊出現
$(".story_photo").fadeIn(1000);
//寫入第一張照片
var firstimg = $(".story_photo img:first").attr("rel");
$(".story_photo img:first").attr("src",firstimg);
$(".story_photo li:not(:first)").hide();
//判斷是否有多張照片,寫入開關
var li_nums = $(".story_photo li").length;
var openclose = '
更多照片 '
if (li_nums > 1) {
$(".story_photo .p_switcher").append(openclose);
}
//控制錨點
if (li_nums > 1) {
$('.open_btn, .story_photo img').click(function(){
$('.news_story').ScrollTo(500);
});
$('.close_btn, .story_photo img').click(function(){
$('.news_story').ScrollTo(500);
});
} else {
$(".story_photo img").css("cursor","none").attr("title","");//一張圖時
$(".p_switcher").hide();
}
//點擊圖片或開關,展開其他圖片
$("a.open_close").click(function(){
//寫入其他圖片路徑
$(".story_photo img:not(:first)").each(function(){
var imgsrc = $(this).attr("rel");
$(this).attr("src",imgsrc);
});
$(".story_photo li:not(:first)").slideToggle(500);
$(".open_close span").toggle();
});
if (video_link>0){ // 如果有影音,點圖連到影音頁
$(".story_photo img, .story_photo .videoPlay").css("cursor","pointer").attr("title","點擊觀看影音新聞");//設定游標
$(".story_photo img, .story_photo .videoPlay").click(function(){
var videoURL = $(".story_photo .video_link a").attr("href");
location.href=videoURL;
});
} else { //沒影音時,點圖展開其它圖
if (li_nums > 1) {//一張圖以上
$(".story_photo img").css("cursor","pointer").attr("title","點擊展開");//設定游標
}
$(".story_photo img").click(function(){
//寫入其他圖片路徑
$(".story_photo img:not(:first)").each(function(){
var imgsrc = $(this).attr("rel");
$(this).attr("src",imgsrc);
});
$(".story_photo li:not(:first)").slideToggle(500);
$(".open_close span").toggle();
});
}
//-------------------
});
-
陳柏霖元氣十足為統一獅開出好球。(圖/統一獅提供)
記者方正東/台北報導
偶像劇明星「大仁哥」陳柏霖8日到天母球場,為犀獅戰開球,能夠站在職棒投手丘上開出好球,圓了陳柏霖棒球夢。
8日賽前陳柏霖與統一獅明星球員潘威倫、陳鏞基,一起舉辦賽前見面會,超人氣陳柏霖現身球場,人氣十足展信親和笑容,融化每一個女球迷的內心,出場的那一刻,滿場球迷掌聲為他加油。
為職棒球賽開球,陳柏霖相當慎重,上周還提前到球場練投,今天也利用出席活動空檔時間,請教昔日偶像羅國璋、高志綱一起練投,就是期待能夠有好的表現。
陳柏霖8日為統一獅投出精采好球,擔任捕手搭檔的高志綱,還特別拿出簽字筆為老婆謀福利索向陳柏霖索取簽名球收藏。
關鍵字:
中華職棒
統一獅
兄弟象
義大犀牛
Lamigo桃猿
瘋棒球
留言列表