NOWnews.com 今日新聞網
2013年6月8日 10:07
");
$(".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)天氣和昨日類似,各地為多雲到晴,不過受西南風影響,南部地區除了午後雷陣雨之外,早晚也可能有局部性短暫陣雨;中部以北地區亦有午後短暫雷陣雨的機會,宜蘭和花蓮則整天都有短暫陣雨的機會。
受到凌晨發生的地震影響,山區土石鬆動,雨勢較大時容易有坍方、落石等現象,在山區或是溪邊活動請務必注意安全。
溫度部份和昨日也類似,各地高溫在32度到34度之間。
臺灣北部、海峽北部及東南部海面風浪增強,海邊活動請注意安全。
昨日清晨兩點在菲律賓東方海面形成熱帶性低氣壓,目前向北緩慢移動,未來一兩天還不至於影響臺灣天氣,但需留意未來發展。
金門及馬祖地區容易有局部濃霧,交通往返請注意相關資訊。
明日(9)起鋒面接近,臺灣附近水氣增加,除了東半部有局部短暫陣雨外,西半部天氣也將變得不穩定,全天都有出現陣雨或雷雨的可能,溫度則和今日差不多。
未來一週都將受到鋒面影響,天氣較不穩定,各地有局部較大雨勢出現的機率,需留意瞬間大雨、雷擊及強陣風。
▲ 未來一週氣溫在32度到34度之間(圖片取自/中央氣象局)資料來源:
中央氣象局全球資訊網
關鍵字:
熱帶性低氣壓
鋒面
短暫陣雨
天氣
高溫
地震
This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends: 'You Say What You Like, Because They Like What You Say' - http://www.medialens.org/index.php/alerts/alert-archive/alerts-2013/731-you-say-what-you-like-because-they-like-what-you-say.html