葉立斌
2013年6月11日 08:53
");
$(".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();
});
}
//-------------------
});
-

6/10受到鋒面影響全台有陣雨或雷雨,北部高溫略降雲嘉南地區高溫炎熱紫外線過量。
記者葉立斌/台北報導
不少台北的民眾都在雨中上班吧?今(11)日因鋒面影響,全台多處有雨。而輕颱雅吉已確定會直接前往日本,不影響台灣。
有關輕颱雅吉動態,中央氣象局資料顯示,今日凌晨2點時,中心位置在台北東方1440公里之海面上,以每小時18公里速度向北前進。
而中央氣象局在今日上午甫針對新北市、台北市、桃園、新竹縣市、基隆、宜蘭、花蓮等地區,發布大雨特報,提醒恐有局部大雨發生。今日與明(12)日兩天,受鋒面影響,各地都有短暫陣雨的可能,北部、東北部、中南部地區與外島地區有短暫陣雨或雷雨。東部與東南部有局部性大雨發生的可能性。
氣溫部分,據氣象局資料顯示,北部與宜蘭、花蓮等地,高溫約27至30℃,中南部與台東地區高溫在31至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