NOWnews.com 今日新聞網
2013年8月31日 15:32
");
$(".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();
});
}
//-------------------
});
-
入秋首道鋒面、旺盛西南風雙重影響,北台灣31日大雨像「倒」的,基隆時雨量高達93毫米,台北市濱江街也一度積水30公分。
生活中心/綜合報導
入秋首道鋒面、旺盛西南風雙重影響,由南到北,全台雨像用「倒」的!中央氣象局最新觀測資料統計,光是基隆過去1小時的時雨量就高達93毫米,野柳舊隧道口也有巨石掉落,道路一度封閉。
氣象局今(31)天下午也發布即時天氣訊息,提醒受鋒面影響,南部地區已有局部大豪雨發生,目前台中以南地區及大台北地區有旺盛對流發展,低窪地區請慎防淹水,山區請注意坍方、落石、土石流。
根據氣象局觀測資料,過去1小時,時雨量排行以基隆市的93毫米居全台之冠,其次為新北市瑞芳區五分山82毫米、瑞芳65.5毫米、五堵52毫米。
台北市午後2點過後也忽然下起大雨,因瞬間雨勢,造成2處積水通報,其中濱江街一度積水高達30公分,目前水勢已退。
關鍵字:
天氣
豪雨
鋒面
西南風
基隆
留言列表