Answers for "one page nav cdn"

0

one page nav cdn

// one page nav cdn
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.sticky/1.0.4/jquery.sticky.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-one-page-nav/3.0.0/jquery.nav.min.js"></script>

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

// initailaize one page nav.js
 $('.menu').onePageNav({});
Posted by: Guest on October-23-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language