PageSourceSearch

https://www.elogos.cl/templates/dignity/javascripts/smooth-scroll.js

js elogos.cl collected 2026-10-04 18:13:42 UTC 828 bytes, 24 lines download raw bytes

1/* =============================================================
2
3    Smooth Scroll 1.1
4    Animated scroll to anchor links.
5
6    Script by Charlie Evans.
7    http://www.sycha.com/jquery-smooth-scrolling-internal-anchor-links
8
9    Rebounded by Chris Ferdinandi.
10    http://gomakethings.com
11
12    Free to use under the MIT License.
13    http://gomakethings.com/mit/
14    
15 * ============================================================= */
16
17(function($) {
18    jQuery(document).ready(function($) {
19        $(".scroll").click(function(event){ // When a link with the .scroll class is clicked
20            event.preventDefault(); // Prevent the default action from occurring
21            $('html,body').animate({scrollTop:$(this.hash).offset().top}, 1500); // Animate the scroll to this link's href value
22        });
23    });
24})(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.