Blogtrottr Nownews財經新聞 www.nownews.com 修正央行阻升、外資匯入 新台幣早盤觸29.34、升值近2角 Oct 8th 2013, 02:35 Jean Yen 2013年10月8日 09: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)").ea...
請先 登入 以發表留言。