', enableHover: false, enableTracking: true, buttons: {twitter: {via:' '}}, nhấp: function (api, options) {api.simulateClick (); api.openPopup (' twitter '); }}); $ ('# facebook'). sharrre ({share: {facebook: true}, mẫu: '

{total}

', enableHover: false, enableTracking: true , các nút: {layout: 'box_count'}, click: function (api, options) {api.simulateClick (); api.openPopup ('facebook');}}); $ ('# googleplus'). sharrre ({ chia sẻ: {googlePlus: true}, mẫu: '

{total}

', enableHover: false, enableTracking: true, buttons: {size: 'tall'}, urlCurl: 'http : //hackshade.com/NEWBLOG/wp-content/plugins/hueman-addons/addons/assets/front/js/sharrre.php',click: function (api, options) {api.simulateClick (); api.openPopup ('googlePlus');}}); var $ _shareContainer = $ (". sharrre-container"), $ _ header = $ ('# header'), $ _ postEntry = $ ('. entry'), $ window = $ (cửa sổ), startSharePosition = $ _ shareContainer.offset (), contentBottom = $ _ postEntry.offset (). top + $ _ postEntry.outerHeight (), topOfTemplate = $ _ heade r.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 (), trái : else startSharePosition.left,});} else if (scrollTop> = $ _ postEntry.offset (). top-topSpacing) {$ _ shareContainer.css ({position: 'fixed', top: '100px'}); $ _ shareContainer. offset ({left: startSharePosition.left,});} else if (scrollTop 1024) {topSpacing = distanceFromTop + $ ('. nav-wrap'). outerHeight ();} else {topSpacing = distanceFromTop;} trả về topSpacing ;} $ window.scroll (_. throttle (function () {if ($ window.width ()> 719) {shareScroll ();} else {$ _ shareContainer.css ({top: '', left: '', vị trí: ''})}}, 50)); $ window.resize (_. debounce (function () {if ($ window.width ()> 719) {shareMove ();} else {$ _ shareContainer.css ( {top: '', left: '', position: ''})}}, 50));});
        
      


nguon http://hackshade.com/NEWBLOG/blog/2017/08/25/customized-windows-startup-greeting-blog-hackshade-com/

Source link

Đưa ra một phản hồi

Vui lòng nhập bình luận của bạn!
Vui lòng nhập tên của bạn ở đây