one page nav cdn 1

one page nav cdn

// one page nav cdn




// initailize sticky.js
    $("#mainPrimary").sticky({ topSpacing: 0 });

// initailaize one page nav.js
 $('.menu').onePageNav({});

Here is what the above code is Doing:
1. We’re using the CDN to import the jQuery library, the sticky.js library, and the one page nav library.
2. We’re initializing sticky.js by calling the sticky() method on the element with the id of mainPrimary.
3. We’re initializing one page nav by calling the onePageNav() method on the element with the class of menu.

Similar Posts