D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
skdesign
/
public_html
/
js
/
Filename :
theme-sticky.min.js
back
Copy
!function(s){"use strict";try{var t=s("#js-sticky-content"),o=s(".js-sticky");s(window).width()>992&&o.each(function(){var o=s(this),c=o.offset().top;s(window).on("scroll",function(){s(window).scrollTop()>c?(o.addClass("sticky"),o.css("width",t.outerWidth(!0))):(o.removeClass("sticky"),o.css("width","100%"))})})}catch(s){console.log(s)}}(jQuery);