巴哈姆特 GNN 新聞網 |
巴哈姆特 GNN 新聞網 |
|
|
aploks 發表在 痞客邦 留言(0) 人氣()
NOWnews 今日新聞總覽 |
Latest news from www.nownews.com |
|
MLB/禁藥時代?總裁Selig:比賽更乾淨了!
Jul 16th 2013, 03:41, by service.nownews@gmail.com (nownews)
nownews運動新聞
2013年7月16日 11:41
"); $(".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(); }); } //------------------- });
Alex Rodriguez能否從「邁阿密禁藥風雲」中,全身而退?(圖/美聯社資料照片/達志影像)
|
|
aploks 發表在 痞客邦 留言(0) 人氣()
NOWnews 今日新聞總覽 |
Latest news from www.nownews.com |
|
日法攜手打造「腦控機器人」 堪稱可用意念控制
Jul 16th 2013, 03:35, by service.nownews@gmail.com (nownews)
Maggie Wu
2013年7月16日 11:35
"); $(".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(); }); } //------------------- });
日本產業技術綜合研究所(AIST)與法國國家科學研究院(CNRS)已經初步研發出了這種夢幻般的「腦控機器人」。(圖/翻攝自網路)
|
|
aploks 發表在 痞客邦 留言(0) 人氣()
NOWnews 今日新聞總覽 |
Latest news from www.nownews.com |
|
大陸「新四大火爐」公布 福州成新任「火爐王」
Jul 16th 2013, 03:41, by service.nownews@gmail.com (nownews)
NOWnews.com 今日新聞網
2013年7月16日 11:41
"); $(".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(); }); } //------------------- });
大陸氣象頻道官方微博@大陸氣象發布了大陸內地「四大火爐」新排名,福州成為高溫王者,榮獲「冠軍」寶座,重慶和杭州位列二、三名。南京跌出前十名,排名14。
|
|
aploks 發表在 痞客邦 留言(0) 人氣()