Autor Tema: How to make nav bar disappear when scrolling down  (Leído 767 veces)

Desconectado Ressler

  • PHPerit@
  • *
  • Mensajes: 5
  • Karma: 0
  • Nuev@ PHPer@
    • Ver Perfil
How to make nav bar disappear when scrolling down
« en: 14 de Septiembre de 2019, 13:34:34 pm »
I have some js and css that makes the navbar disappear when scrolling down and up. However I only want it to disappear when i initially scroll down. I don't want it to reappear when I scroll up unless it's at the top of the page. I also notice the initial downwards scroll just makes it disappear instantly instead of smoothly sliding up.

Does anyone have an idea how i should alter the code?
real casino slots online real money

Comunidad PHPeros

How to make nav bar disappear when scrolling down
« en: 14 de Septiembre de 2019, 13:34:34 pm »