Fade in fixed menu scroll div with jquery

Asked

Viewed 706 times

0

I’m trying to make my fixed menu open with fade when scrolling the page more my code is not working, and as I don’t understand much of JS I’m asking here for help to try to solve my problem.

come on!

follow my bootply to a preview!

BOOTPLY

I wanted to have my page scroll my fixed menu fade, and when it comes back it comes back normal and cool at the top!

could someone give me this help?

1 answer

1

Before giving a fadein you need the element not being displayed.

I made an example directly in your code, follow the link BOOTPLY

I hope I’ve helped.

  • @Moisesgame got batter, but here comes another problem, I want that after it appears it stays fixed, not disappear while moving the scroll, It is only to disappear when back to the top! .

  • @Lucianooliveirafile it is doing this, see if the larger content, can be your resolution, try to decrease the window.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.