PageSourceSearch

https://sehestedt.de/wp-content/themes/sehestedt/js/functions.js?ver=2016-01-29

js sehestedt.de collected 2026-10-02 12:51:14 UTC 1,155 bytes, 44 lines download raw bytes

1/* global screenReaderText */
2/**
3 * Theme functions file.
4 *
5 * Contains handlers for navigation and widget area.
6 */
7	
8// Sub Menu
9jQuery(".navbar-nav li .sub-menu").before("<span class='arrow'>+</span>");
10jQuery(".navbar-nav li .arrow").click(function(){
11	if(jQuery(this).next("ul.sub-menu").is(":visible"))
12	{
13		jQuery(this).next("ul.sub-menu").slideUp();
14		jQuery(this).text("+");
15	}
16	else
17	{
18		/*jQuery(this).closest("ul").find(".arrow").text("+");
19		jQuery(this).closest(".navbar-nav").find("ul.sub-menu").slideUp();*/
20		//jQuery(".navbar-nav li .arrow").text("+");
21		//jQuery(".navbar-nav li ul.sub-menu").slideUp();
22		jQuery(this).text("-");
23		jQuery(this).next("ul.sub-menu").slideDown();
24	}
25});
26jQuery(document).ready(function ($) {
27    $('img').removeAttr('width').removeAttr('height');
28});
29
30jQuery(window).scroll(function(){
31	//var nav_offset = jQuery(".divNavigation").offset().top;
32	var scroll_height = jQuery("header").outerHeight();
33	if (jQuery(window).width() > 991){
34		if(jQuery(window).scrollTop() > scroll_height)
35		{
36			jQuery("header").addClass("fixHeader");
37		}
38		else
39		{
40			jQuery("header").removeClass("fixHeader");
41		}
42	}
43});
44

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.