Home › Forums › JavaScript › Problem with menu in wordpress site › Reply To: Problem with menu in wordpress site
April 5, 2015 at 5:03 pm
#199809
Shikkediel
Participant
I don’t see anything to be scrolled, just an empty bar. Besides the fact most of us would just be guessing where the login page would be…
This is the general approach though :
$(window).scroll(function() {
if ($(this).scrollTop() > *amount of pixels*) // do stuff
});