Not Solved Hide header on scroll, show on scroll up
#2
Not Solved
Hi,

It bases on the <header> tag. For MyBB standard theme it needs to be adopted to the element id "#header".
So you need to change the JS code to something like this.
getElementByID("header").removeClass(...).addClass(...)

BTW. This simple mod is great but with a loss on flexibility due to fixed position and pixel-based dimensions/padding.

Good luck!

[ExiTuS]
[Image: logo_wernicke_8040.png]
MyBB Forum + innovative full-responsive Theme
Live-Escape-Game-Forum
Reply


Messages In This Thread
RE: Hide header on scroll, show on scroll up - by [ExiTuS] - 2020-05-08, 12:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)