PageSourceSearch

https://www.jeff-de-bruges.com/Assets/268333/Theme/Project/Theme/js/stickyanchor.js

js jeff-de-bruges.com collected 2026-10-03 19:18:52 UTC 859 bytes, 5 lines download raw bytes

1(function(){'use strict';let app=angular.module('RbsChangeApp');app.directive('projectBaseStickyanchor',['$location','$anchorScroll',function($location,$anchorScroll){function animateScroll(id){var offset=jQuery('#'+id).offset();var stickyHeight=0;if(offset){if(document.querySelectorAll('.checkoutSteps').length>0){stickyHeight=document.querySelectorAll('.checkoutSteps')[0].offsetHeight+20;}
2jQuery('html, body').animate({scrollTop:offset.top-stickyHeight-10},1000);}
3else{$anchorScroll(id);}}
4return{restrict:'A',priority:200,compile:function(element,attributes){var anchor=attributes['projectBaseStickyanchor'];if(anchor){element.attr('href',window.location.pathname+window.location.search+'#'+anchor);}
5return function(scope,elem){if(anchor){elem.click(function(event){event.preventDefault();event.stopPropagation();animateScroll(anchor);});}}}}}]);})();

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.