PageSourceSearch

https://betadwarf.com/community/_js/scroll.js

js betadwarf.com collected 2026-10-04 16:20:19 UTC 417 bytes, 16 lines download raw bytes

1$('a[href^="#"]').on('click', function(event) {
2
3    var target = $( $(this).attr('href') );
4	
5	$('a[href^="#"]').removeClass("active"); //remove active from all
6
7	$(this).addClass("active"); //add 
8    
9	if( target.length ) {
10        event.preventDefault();
11        $('html, body').animate({
12            scrollTop: target.offset().top
13        }, 1000);
14    }
15	// run function every time you scroll
16});

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.