PageSourceSearch

https://www.theologie-naturwissenschaften.de/fileadmin/templates/js/main.js?1652348226

js theologie-naturwissenschaften.de collected 2026-10-02 10:59:06 UTC 745 bytes, 36 lines download raw bytes

1jQuery(document).ready(function($) {
2
3	
4	$('.menu-btn').on('click',function(e){
5		e.preventDefault();
6		$("html, body").animate({
7			scrollTop: $("#dtn-menu").offset().top
8		}, 300);
9	});
10	
11	$('.scrolltop-btn').on('click',function(e){
12		e.preventDefault();
13		$("html, body").animate({
14			scrollTop: 0
15		}, 300);
16	});
17	
18	$(window).scroll(function() {    
19		if ($(window).scrollTop() > 0) {
20			if (!$('body').hasClass('scrolled')) {
21				$('body').addClass("scrolled");
22			}
23		} else {
24			$('body').removeClass("scrolled");
25		}
26	});
27	$(window).trigger('scroll');
28	
29	// scrolling in order to display beneath header
30	if (window.location.href.indexOf("#comment") > -1) {
31		window.scrollBy(0, -129);
32	}
33	
34	$('#writeComment .email-address').hide();
35
36});

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.