PageSourceSearch

https://reading.ac.uk/sc93/js/appSticky.min.js

js reading.ac.uk collected 2026-09-24 08:26:33 UTC 1,357 bytes, 1 lines download raw bytes

1(function(n){n.fn.appSticky=function(t){function u(){i.height()!==i.parent().outerHeight()&&i.parent().height(i.outerHeight())}function r(){n("#personalizationHeader").length?i.addClass("sticky-home"):i.removeClass("sticky-home");t==="top"?i.parent().offset().top>=n(window).scrollTop()?i.hasClass("sticky-fixed")&&(n("#personalizationHeader").length?i.removeClass("sticky-fixed"):i.removeClass("sticky-home").removeClass("sticky-fixed")):i.hasClass("sticky-fixed")||(n("#personalizationHeader").length?i.removeClass("sticky-fixed"):i.removeClass("sticky-home").addClass("sticky-fixed")):t==="bottom"&&(i.parent().offset().top+i.parent().height()<=n(window).scrollTop()+n(window).height()?i.addClass("sticky-home").removeClass("sticky-fixed"):i.addClass("sticky-fixed").removeClass("sticky-home"))}var i=this,f,e=n('<div class="sticky-container">');i.wrap('<div class="sticky-container">');n(window).on("load",function(){i.parent().css({display:"block",width:"100%",height:i.outerHeight()})});n(window).on("scroll",function(){n(window).innerWidth()>=320&&r()});n(window).on("resize",function(){f=setTimeout(function(){n(window).innerWidth()>=320?r():(i.removeClass("sticky-fixed","sticky-home"),i.parent().removeAttr("style"));u()},100)});return n(window).innerWidth()>=320?(u(),i.addClass("sticky-home"),r()):i.parent().removeAttr("style"),this}})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.