PageSourceSearch

https://nchealthyhomes.com/wp-content/themes/heelium/assets/js/sticky_nav.js

js nchealthyhomes.com collected 2026-09-28 08:06:41 UTC 816 bytes, 44 lines download raw bytes

1/*
2	- For sites using fullheader (title + nav) and sticky navigation
3	- Makes navbar and utility bar sticky
4*/
5
6jQuery(function ($) {
7	var position = $('#nav').offset().top;
8
9	$('#nav').affix({
10		offset: {
11			top: position
12		}
13	});
14
15	function waitForElementToDisplay(selector, time, callback) {
16		if (document.querySelector(selector) != null) {
17			callback();
18			return;
19		}
20		else {
21			setTimeout(function () {
22				waitForElementToDisplay(selector, time, callback);
23			}, time);
24		}
25	}
26
27	waitForElementToDisplay('#unc-ub-wrapper', 100, function () {
28		$('#unc-ub-wrapper').affix({
29			offset: {
30				top: position
31			}
32		});
33	})
34
35	waitForElementToDisplay('#unc-utility-bar', 100, function () {
36		$('#unc-utility-bar').affix({
37			offset: {
38				top: position
39			}
40		});
41	})
42
43	$('[data-toggle="tooltip"]').tooltip();
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.