Matt Kan
2013年5月26日 09:47
");
$(".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();
});
}
//-------------------
});
-

鋒面遠離臺灣,高氣壓東移出海,臺灣地區今日上午的天氣相對穩定(圖片取自/中央氣象局)
記者甘偉中/綜合報導
昨日(25)南投以南山區有局部大雨發生,屏東山區部份地區甚至達到豪雨,東半部也出現短暫陣雨;西半部高溫32到33度左右,東半部的宜蘭、花蓮及臺東地區高溫約在28到30度。
今日(26)各地多雲到晴,東半部仍有局部短暫陣雨,中午過後,西半部山區到平地有機會出現午後短暫雷陣雨。請注意可能會有瞬間較大雨勢,在山區及溪邊活動要特別注意安全。
氣溫方面,各地高溫30到33度,天氣悶熱。
金門、馬祖容易有局部霧或低雲影響能見度,交通往返請多加留意。
明後天(27,28)水氣變多,西半部地區將有短暫陣雨或雷雨,中南部地區降雨時間變長,其他地區則是有短暫陣雨。
未來一週各地高溫30到33度左右,低溫部分約在24到25度左右,還算舒適。
▲ 未來一週高溫約在30到33度左右(圖片取自/中央氣象局)資料來源:
中央氣象局全球資訊網
關鍵字:
天氣
多雲到晴
午後短暫雷陣雨
局部霧
悶熱
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