PageSourceSearch

https://www.unser-luebeck.de/modules/mod_gruemenu/js/script.js

js unser-luebeck.de collected 2026-10-02 07:17:26 UTC 1,038 bytes, 49 lines download raw bytes

1
2/*
3	Copyright: (c) 2015 TheGrue, http://thegrue.org/
4*/
5
6
7jQuery(document).ready(function($) {
8
9
10/*  DropDown Animation
11/* ------------------------------------ */
12	$('#gruemenu ul.sub-menu').hide();
13	$('#gruemenu li').hover( 
14		function() {
15			$(this).children('ul.sub-menu').fadeIn(300);
16		}, 
17		function() {
18			$(this).children('ul.sub-menu').hide();
19		}
20	);	
21	
22
23/*  Fixed Navigation Menu starting at 300px from top
24/* ------------------------------------ */	
25	$(window).bind('scroll', function () {
26		$gruPos = $('#mainmenu').offset().top;
27		
28		if ($(window).scrollTop() > $gruPos) {
29			$('#gruemenu').addClass('gruefixed');
30		} else {
31			$('#gruemenu').removeClass('gruefixed');
32		}
33	});
34	
35/*  Touch Events
36/* ------------------------------------ */	
37      $(window).touchwipe({
38        wipeLeft: function() {
39          // Close
40          $.sidr('close', 'sidr-main');
41        },
42        wipeRight: function() {
43          // Open
44          $.sidr('open', 'sidr-main');
45        },
46        preventDefaultEvents: false
47      });	
48	
49});

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.