2017年12月31日 星期日

蘋果仁 跨年在家過!全台YouTube跨年直播清單整理(Live 跨年晚會懶人包) 百家樂 http://www.iwin9418.com

',enableHover:false,enableTracking:true,buttons:{twitter:{via:''}},click:function(api,options){api.simulateClick();api.openPopup('twitter');}});$('#facebook').sharrre({share:{facebook:true},template:'{total}',enableHover:false,enableTracking:true,buttons:{layout:'box_count'},click:function(api,options){api.simulateClick();api.openPopup('facebook');}});$('#googleplus').sharrre({share:{googlePlus:true},template:'{total}',enableHover:false,enableTracking:true,buttons:{size:'tall'},urlCurl:'http://ift.tt/2fYUMTU',click:function(api,options){api.simulateClick();api.openPopup('googlePlus');}});var $_shareContainer=$(".sharrre-container"),$_header=$('#header'),$_postEntry=$('.entry'),$window=$(window),startSharePosition=$_shareContainer.offset(),contentBottom=$_postEntry.offset().top+$_postEntry.outerHeight(),topOfTemplate=$_header.offset().top,topSpacing=_setTopSpacing();shareScroll=function(){var scrollTop=$window.scrollTop()+topOfTemplate,stopLocation=contentBottom-($_shareContainer.outerHeight()+topSpacing);$_shareContainer.css({position:'fixed'});if(scrollTop>stopLocation){$_shareContainer.css({position:'relative'});$_shareContainer.offset({top:contentBottom-$_shareContainer.outerHeight(),left:startSharePosition.left,});} else if(scrollTop>=$_postEntry.offset().top-topSpacing){$_shareContainer.css({position:'fixed',top:'100px'});$_shareContainer.offset({left:startSharePosition.left,});}else if(scrollTop1024){topSpacing=distanceFromTop+$('.nav-wrap').outerHeight();}else{topSpacing=distanceFromTop;} return topSpacing;} $window.scroll(_.throttle(function(){if($window.width()>719){shareScroll();}else{$_shareContainer.css({top:'',left:'',position:''})}},50));$window.resize(_.debounce(function(){if($window.width()>719){shareMove();}else{$_shareContainer.css({top:'',left:'',position:''})}},50));});/*]]>*/

from 蘋果仁 – 你的科技媒體 http://ift.tt/2lrYQ1R




1 則留言:

  1. 此文章為蘋果仁網站所有,並未授權在此使用。
    此行為已侵犯本站作者著作權,請立即下架!
    若不下架,本公司將採取法律行動,要求相關賠償。

    回覆刪除