How to make a navbar that opens on scrolling. | Sololearn: Learn to code for FREE!

0

How to make a navbar that opens on scrolling.

I want to create a navbar that opens on scrolling an div element. Can someone help. Note: I am using spck editor so I can't share it.

12/13/2020 9:06:06 AM

Aradhay Mathur

2 Answers

New Answer

+1

You can use onscroll event and do the DOM manipulation when user scrolls.

0

Raj Chhatrala I had tried it but it does not work