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.

13th Dec 2020, 9:06 AM
Aradhay Mathur
Aradhay Mathur - avatar
2 Answers
+ 1
You can use onscroll event and do the DOM manipulation when user scrolls.
13th Dec 2020, 11:08 AM
Raj Chhatrala
Raj Chhatrala - avatar
0
Raj Chhatrala I had tried it but it does not work
13th Dec 2020, 11:28 AM
Aradhay Mathur
Aradhay Mathur - avatar