+ 1
How to make a navbar which is static but becomes fixed top when scrolled down. And again static when on top
I have tried but failed I am new to Java script and jQuery
2 ответов
+ 2
if I understands, you can achieve it with this code in css:
position: fixed;
top: 0;
left: 0;
:)
+ 1
I understand CSS and JavaScript both but I want to learn the scroll function of JavaScript