PageSourceSearch

https://www.consultim-partners.com/wp-content/themes/ic-main-theme…?ver=9ec1d82766e5a3923021bfacba86d72d

js consultim-partners.com collected 2026-10-06 18:18:08 UTC 592 bytes, 16 lines download raw bytes

1/** Variables */
2const TOP_DISTANCE = 65; // Distance in pixels to scroll to stick/unstick menu
3const MENU_SELECTOR = "#header"; // Selector of the block to stick (add "#" for an ID and "." for a class)
4const STICKY_CLASS = "scrolled" // CSS class added when menu is stuck
5
6/**
7 * Function stickyMenu
8 * Add/remove a class when menu is stuck/unstuck
9 */
10function stickyMenu() {
11	jQuery( MENU_SELECTOR ).toggleClass( STICKY_CLASS, jQuery( window ).scrollTop() >= TOP_DISTANCE );
12}
13
14/** Listeners */
15jQuery( document ).ready(stickyMenu);
16jQuery( window ).resize(stickyMenu).scroll(stickyMenu);

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.