Skip to Main Content
  • DPDP vs GDPR
  • Contact Us
Go to Dashboard
  • DPDP vs GDPR
  • Contact Us
// When the user scrolls the page, execute myFunction window.onscroll = function() {myFunction()}; // Get the header var header = document.querySelectorAll("header.primary-navigation")[0]; // Get the offset position of the navbar var sticky = 0; // Add the sticky class to the header when you reach its scroll position. Remove "sticky" when you leave the scroll position function myFunction() { if (window.pageYOffset > sticky) { header.classList.add("sticky"); } else { header.classList.remove("sticky"); } } div:has(section.sticky) > main{ margin-top:80px; } .sticky{ position:fixed; top:0; width:100%; transition:all 0.7s ease; z-index:9; display:block; } img{ transition:all 0.7s; }
Message
Please Confirm
Action Failed

Privacy Policy   Terms of Use

This Website Uses Cookies

We use cookies and similar technologies to deliver personalized content, analyze trends, administer the site, track user movements on the site, and collect demographic information about our user base as a whole. Accept all cookies for the best possible experience on our website or manage your preferences. Visit our Privacy Policy