If you want to make your header Navbar sticky or fixed at Top on window scroll than here is the solution to follow. So here is the jquery Scipt jQuery(window).scroll(function() { var scroll = jQuery(window).scrollTop(); if (scroll >= 200)...
How to create sticky header bar for a website ?
On window scroll add/remove class with jquery !
Sometime we want to add class to particular div to make some changes on the page according to that class . Mostly this situation is happened when we want make our website header sticky or to fix the header at...
Smooth Scroll of window to a div using jquery
if you want to scroll the window smoothly on click then you can make that using this code to reach the particular div. jQuery(".addto_cart_button").click(function() { jQuery('html, body').animate({ scrollTop: jQuery("#cust-id").offset().top }, 2000); }); If you have multiple link to scroll.....