PageSourceSearch

https://www.burg-rothenfels.de/fileadmin/templates/js/functions_unten.js

js burg-rothenfels.de collected 2026-10-02 07:54:29 UTC 1,636 bytes, 86 lines download raw bytes

1
2
3<!-- Header wird beim Scrollen kleiner -->
4
5jQuery("document").ready(function($) 
6	{
7		var nav = $('#container');
8			$(window).scroll(function() 
9			{
10				if ($(window).width() > 1023) 
11				{
12					if ($(this).scrollTop() > 130) 
13					{
14						nav.addClass("mini");
15	
16							if ($(this).scrollTop() > 270) 
17							{
18								nav.addClass("br_header");
19							} 
20							else 
21							{
22								nav.removeClass("br_header");
23							}
24				
25					} 
26					else 
27					{
28						nav.removeClass("mini");
29					}
30				}
31			});
32		//}
33	});
34
35$(window).resize(function() {
36    if ($(window).width() < 1024) {
37            $('#container').removeClass("mini");
38      }
39});
40
41
42
43<!-- To-Top-Link -->   
44$(document).ready(function() {
45  $('.totop').hide();
46  $(window).scroll(function(){
47    var value = 200; // Toplink beim vertikalen scrollen ab einem Wert von XXX 'px' anzeigen
48    var scrolling = $(window).scrollTop();
49    if (scrolling > value) {
50      $('.totop').fadeIn();
51    } else {
52      $('.totop').fadeOut();
53    }
54  });
55  $('.totop').click(function(){
56    $('html, body').animate({scrollTop:'0px'}, 1000);
57    return false;
58  });
59});
60
61
62
63<!-- Social-Media-Buttons: Keine Überlagerung mit dem Footer -->
64$(window).scroll(function() {
65	var sm = $('.social-RB');
66	if (($(window).scrollTop() + $(window).height() > $(document).height() - 250) && $(window).height() < 950) 
67	{
68		sm.addClass("unten");
69	} else {
70		sm.removeClass("unten");
71	} 
72});
73
74
75
76
77
78<!-- RESPONSIVE TABELLEN -->
79
80/*$(document).ready(function() {
81	$('.contenttable').wrap('<div class="table_wrapper"></div>');
82	$('.table_wrapper').prepend('<div class="table_fade"></div>');
83});	 
84*/
85
86

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.