September 10, 201214 yr Hi Guys, I'm not sure what the method is called for this I've seen it a few times and finally I have a reason to use it . Here is an example, scroll down a bit and you'll see that a fixed position header pops up. http://www.freelancer.com Not knowing to how to describe this feature I had no idea how to google for it. I look forward to your response. Luke
September 10, 201214 yr Just simple javascript. Check how much the page is scrolled. ( place onscroll="someFunction()" in your body tag, and in that function check the amount of pixels scrolled with window.pageYOffset ) If the amount is above some number, make the menu appear by chaging the style. If the amount is below some number, make the menu disappear. Cheers ! Edited September 10, 201214 yr by Leonvv
Create an account or sign in to comment