Файловый менеджер - Редактировать - /home/freeclou/optimyar/wp-content/plugins/jet-blocks/assets/js/lib/jsticky/jquery.jsticky.min.js
Назад
(s=>{s.fn.jetStickySection=function(t){var e={topSpacing:0,zIndex:"",stopper:s(".sticky-stopper"),stickyClass:!1},u=s.extend({},e,t);var v="number"==typeof u.zIndex;var C=0<u.stopper.length||"number"==typeof u.stopper;return this.each(function(){var o=s(this),i=u.topSpacing,t=o.outerHeight(),n=o.outerWidth(),r=o.offset().left,c=u.zIndex,p=o.offset().top-i,a=s("<div></div>").width(n).height(t).addClass("sticky-placeholder"),f=u.stopper,l=s(window),d=!1,h=!1,y=o.hasClass("elementor-section"),k=o.hasClass("e-parent");function e(){var t,e,s;d||(s=o.outerHeight(),t=l.scrollTop(),e=f,o.parent().width(),a.width(n),C&&("number"!=typeof u.stopper?e=u.stopper.offset().top-s-i:"number"==typeof u.stopper&&(e=u.stopper-s-i)),h=p<t?(u.stickyClass&&o.addClass(u.stickyClass),s={position:"fixed",top:i,width:n},y||k||(s.left=r),o.after(a).css(s),v&&o.css({zIndex:c}),C&&e<t&&o.css({top:e-t+i}),h||o.trigger("jetStickySection:stick"),!0):(u.stickyClass&&o.removeClass(u.stickyClass),o.css({position:"",top:"",left:"",width:""}),a.remove(),h&&o.trigger("jetStickySection:unstick"),!1))}l.innerHeight()>t&&(o.on("jetStickySection:activated",e),l.on("scroll",e),l.on("touchmove",e),l.on("resize",e),o.on("jetStickySection:detach",function(){d=!0,l.off("scroll",e),l.off("touchmove",e),l.off("resize",e),u.stickyClass&&o.removeClass(u.stickyClass),o.css({position:"",top:"",left:"",width:""}),a.remove()}))})}})(jQuery);
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка