李鴻典
2013年9月21日 16:58
");
$(".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日出現巨浪,台東災害應變中心和海巡署劃定海邊為危險區域,管制民眾靠近。中央社記者盧太城台東攝 102年9月20日
記者李鴻典/台北報導
受到強颱天兔影響,氣象局發布豪雨特報指出,21日下午至明22日下午臺東、花蓮地區及恆春半島、宜蘭山區、南部山區、南投山區有大豪雨或超大豪雨,宜蘭、南部地區及臺中以北山區有局部豪雨或大豪雨,北部地區有大雨或豪雨,中部地區及澎湖、金門有大雨發生的機率,請注意防範坍方、落石、土石流及山洪爆發,低窪地區請慎防淹水。
超大豪雨:臺東縣、花蓮縣、宜蘭縣、屏東縣、高雄市、南投縣。
大豪雨:新北市、桃園縣、新竹縣、苗栗縣、臺中市、臺南市。
19日0時至21日16時出現較大累積雨量如下:宜蘭縣古魯472毫米、屏東縣來義371毫米、臺東縣向陽352毫米、新竹縣西丘斯山324毫米、花蓮縣龍澗322毫米、桃園巴陵303毫米、高雄小關山230毫米。
出現較大陣風區域如下:蘭嶼17級以上,恆春14級,東吉島、大武11級,梧棲、成功、新屋、澎湖及彭佳嶼10級。
臺灣各地區沿海風浪仍大,請民眾避免前往海邊活動,強陣風地區應防電力中斷。大臺北地區受颱風外圍環流及地形影響,將有10級以上強陣風出現的機率,請注意。適逢大潮期間,沿海低窪地區應防淹水及海水倒灌。
關鍵字:
天兔颱風
來襲
豪雨特報
蘭嶼
17級以上強陣風