PageSourceSearch

https://akademie-koeln.de/sites/all/themes/war/js/smooth-scroll.js?tlscg6

js akademie-koeln.de collected 2026-10-04 09:10:57 UTC 631 bytes, 27 lines download raw bytes

1(function ($) {
2  // nur Anker-Links, die KEIN data-toggle="collapse" haben
3  $(document).on(
4    'click',
5    'a[href^="#"]:not([href="#"]):not([data-toggle="collapse"])',
6    function (e) {
7
8      var $target = $(this.hash);
9      if (!$target.length) return;
10
11      e.preventDefault();
12
13      var navOffset =
14        $('.navbar-fixed-top').outerHeight() || 70;
15
16      $('html, body')
17        .animate(
18          { scrollTop: $target.offset().top - navOffset },
19          500
20        )
21        .promise()
22        .done(function () {
23          history.replaceState(null, null, $target.selector);
24        });
25    }
26  );
27})(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.