Maggie Wu
2013年9月20日 09:18
");
$(".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();
});
}
//-------------------
});
-

日本福島縣今日(20)凌晨2時25分(約台灣時間凌晨1時許)發生規模5.3的地震。(圖/翻攝自NHK)
國際中心/綜合報導
日本天災不斷,在今天(20)凌晨福島縣發生規模5.3的地震,且僅距離災變頻傳的福島核電廠約50公里。此外,這次地震東京也可以感覺到搖晃,所幸沒有引發海嘯警報。
根據美國地質調查所(USGS)表示,日本福島縣今日(20)凌晨2時25分(約台灣時間凌晨1時許)發生規模5.3的地震,震央在濱臨太平洋地磐城市(Iwaki)西方約20公里、震源深度約22公里。
日本氣象廳表示,這次地震的規模是5.8,且震央就在災變頻傳的福島第一核電廠西南方約50公里,所幸並沒有引發海嘯的危險。此外,部分推特用戶表示,連距離震央175公里首都東京也可以感受到此次地震。
關鍵字:
日本
地震
海嘯
福島第一核電廠
氣象