彭夢竺
2013年9月19日 09:20
");
$(".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();
});
}
//-------------------
});
-

天兔颱風已增強為中度颱風,中央氣象局表示,以目前的預測路徑預估在今天深夜到明(20)日清晨會發佈海上颱風警報,明天白天會發陸上颱風警報,請大家隨時留意氣象局的最新預報並提早做好防颱的準備。
記者彭夢竺/台北報導
今天是中秋節,一大早天氣還算晴朗。天兔颱風已增強為中度颱風,中央氣象局表示,以目前的預測路徑預估在今天深夜到明(20)日清晨會發佈海上颱風警報,明天白天會發陸上颱風警報,請大家隨時留意氣象局的最新預報並提早做好防颱的準備。
氣象局表示,天兔今天清晨2時位置是在台灣鵝鸞鼻東南東方約990公里海面上,未來會朝西北西方向往台灣的南端接近,預計今天之後的天氣就會受到影響。今天天氣方面受到天兔颱風外圍環流的影響,迎風面的北部及東半部降雨情況會逐漸明顯,都有可能會出現局部大雨或豪雨,南部地區及中部山區則是午後有些局部短暫雷陣雨。
至於溫度部分,中南部高溫大約都在33到34度左右,北部及東半部則是29到32度,早晚的低溫大約在23到26度,感覺是稍有涼意到舒適。
受到颱風逐漸接近的影響,台灣東半部沿海及蘭嶼、綠島會有長浪的現象,台灣附近各海面的風浪也都會逐漸增大,前往海邊或是海上活動請特別注意安全。
關鍵字:
中秋節
天兔
颱風
氣象局