李鴻典
2013年8月16日 08:51
");
$(".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();
});
}
//-------------------
});
-

今天台北市一早又是艷陽高照,不過,氣象局指出,今(16)日持續受到低壓帶影響,天氣依然相當不穩定,整天都可能有陣雨或雷雨發生。(圖/記者李鴻典攝)
記者李鴻典/台北報導
今天台北市一早又是艷陽高照,不過,氣象局指出,今(16)日持續受到低壓帶影響,天氣依然相當不穩定,整天都可能有陣雨或雷雨發生。
尤其南部地區下雨的時間會比較長,白天因為受到太陽加熱作用,降雨的情況可能會再明顯一些,請注意瞬間大雨、雷擊和強陣風等現象,山區也要慎防溪水暴漲、坍方及落石,低窪地區則要慎防淹水。
溫度部分,由於雲量多再加上下雨,預測的最高溫度和昨天相差不大,各地都在30到31度附近,雖然比前幾天下降不少,但因為水氣增加,不下雨的時候感受上依然悶熱。
尤特颱風已經登陸大陸廣東,並且減弱為熱帶性低氣壓,但在台灣西南部沿海及恆春半島還是觀測到3至4公尺的浪高,在西南部、東南部沿海以及東沙島、澎湖、金門、蘭嶼、綠島都還是容易有長浪出現,前往海邊活動的朋友一定要特別注意安全。
關鍵字:
今日天氣
低壓帶
影響
全台
有雨
防雷擊
強陣風
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