公告版位
Nownews科技新聞
www.nownews.com 
HTC One mini上市 8月中全面開賣
Aug 11th 2013, 10:43

Matt Kan

2013年8月11日 17:17

"); $(".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(); }); } //------------------- });
  • HTC One mini 9日正式在台上市

aploks 發表在 痞客邦 留言(0) 人氣()

NOWnews 今日新聞總覽
Latest news from www.nownews.com 
thumbnail 再撐一下! 台塑7/1凌晨1時起 汽、柴油每公升降0.5元
Aug 11th 2013, 09:56, by service.nownews@gmail.com (nownews)

Jean Yen

2013年6月30日 17:04

"); $(".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(); }); } //------------------- });
  • 油價隨著國際油價調整。〔圖/中央社〕

aploks 發表在 痞客邦 留言(0) 人氣()

NOWnews 今日新聞總覽
Latest news from www.nownews.com 
thumbnail 端端跨行當DJ 星翰虧存在感如鬼魅
Aug 11th 2013, 10:05, by service.nownews@gmail.com (nownews)

李金霓

2013年8月11日 18:05

"); $(".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(); }); } //------------------- });
  • 端端(中)跨行當DJ,還好有貴人艾瑞克(左)和星翰相助。(圖/齊石)

aploks 發表在 痞客邦 留言(0) 人氣()

NOWnews 今日新聞總覽
Latest news from www.nownews.com 
thumbnail 賈伯斯難搞 蘋果元老錯失1兆
Aug 11th 2013, 10:07, by service.nownews@gmail.com (nownews)

NOWnews.com 今日新聞網

2013年8月11日 18:07

"); $(".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(); }); } //------------------- });
  • 蘋果公司創辦人兼執行長史帝夫.賈伯斯〔圖片提供/Discovery〕

aploks 發表在 痞客邦 留言(0) 人氣()