PageSourceSearch

https://www.neuchatelville.ch/typo3temp/assets/compressed/tc_scrol…12336ddbd17df8d10e57e6e10219e.js?1783607243

js neuchatelville.ch collected 2026-10-02 05:13:27 UTC 625 bytes, 27 lines download raw bytes

1/**
2 * Gestion du scrolling vers un élément dont l'id est passé par l'url
3 * @type {scrollManager}
4 */
5(function ($) {
6    $.fn.TCScroll = function (options) {
7
8        var opts = $.extend({}, $.fn.TCScroll.defaults, options);
9
10        function scrollTo($element) {
11            if($element.offset())
12                $('html, body').animate({
13                    scrollTop: $element.offset().top
14                }, 2000);
15        }
16
17        if (opts.action === "scrollTo") {
18            scrollTo(opts.element);
19        }
20    };
21
22    $.fn.TCScroll.defaults = {
23        action: null,
24        element: null
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.