HTML CSS & JAVASCRIPT, YouTube

bottom to top scroll and sticky navigation bar

bottom to top scroll and sticky navigation bar

Coding BD given bottom to top scroll and sticky navigation bar. You can create a sticky navbar after scroll. We create a sticky navigation bar on scroll using javascript. It is the most important part Of fixed menu on scroll vanilla javascript. We have given more importance to create a sticky menu with css and javascript. They used pure jquery effects. because they need highly effective effects. Thank you so much.

😍😍 If You like this video Please like, share and subscribe This video.😍😍

😍😍 Check Others Programming Video👇

➡️ creative button hover effects: https://www.youtube.com/watch?v=3FbyiuhhhTI

➡️ How to Download Source code in Coding BD: https://www.youtube.com/watch?v=WXAZ-BScKBE&t=3s

➡️Responsive website html css javascript | part( 1 ): https://www.youtube.com/watch?v=g0ART…

➡️ Responsive Services Section: https://www.youtube.com/watch?v=wvLky…

➡️ CSS Clip Path Hover Circle Hover Effects: https://www.youtube.com/watch?v=cRSgo…

➡️ CSS Responsive CARD Hover Effects & Adding Stroke to Text | Html5 CSS3 2021: https://www.youtube.com/watch?v=QVMJ5…

➡️ Neon Light Button Animation Effects on Hover | CSS Snake Border: https://www.youtube.com/watch?v=GtVSF…

➡️ Responsive Box Model Web Design Using CSS Flexbox: https://www.youtube.com/watch?v=03RuV…

➡️ Digital Clock with Animated Progress-bar | HTML CSS & Vanilla Javascript: https://www.youtube.com/watch?v=6A6Hp…

➡️ How to create a light to dark mode for HTML CSS & Vanilla Javascript 2021: https://www.youtube.com/watch?v=43FbR…

➡️Scroll top button : https://www.youtube.com/watch?v=9fDEJ…

➡️ Animated eid mubarak 2021 using Html CSS & Javascript: https://www.youtube.com/watch?v=60H2g…

Here is all Source code ( scroll and sticky navigation bar ). You can follow this steps:

  1. Create 1 folder
  2. create 1 HTML file: index.html
  3. create 1 CSS file: style.css
  4. copy HTML code and pest HTML file, copy CSS code and past CSS file
  5. Now give a smile and jump out loud. 😍😍
 <script src="https://code.jquery.com/jquery-3.6.0.js"></script>
    <script>
        (function ($) {
            "use strict";
            var $navbar = $("#navbar"),
                y_post = $navbar.offset().top,
                height = $navbar.height();

            $(document).scroll(function () {
                var scrollTop = $(this).scrollTop();
                if (scrollTop > y_post + height) {
                    $navbar.addClass("navbar-fixed").animate({
                        top: 0
                    })
                } else if (scrollTop <= y_post) {
                    $navbar.removeClass("navbar-fixed").clearQueue().animate({
                        top: '-48px'
                    }, 0)
                }
            })
        })(jQuery, undefined)
    </script>

Download copy Right free image on https://unsplash.com

Don’t Forget to Follow me on all Social Network

YouTube: https://www.youtube.com/channel/UCw9etYfx-25oKB_qt1fFNWw

Facebook Page: https://www.facebook.com/codingbd2021

LinkedIn: https://www.linkedin.com/in/sajjat-ho… 

GitHub: https://github.com/cgsaleh8383

You can see css image hover overlay effects

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *