Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Douaji Ala'Eddine
Courses Plus Student 302 PointsWeb Page Header Animation Technics
Hi to everyone , currently I'am working on a web page and I want to apply some design changes to the header , what i want is when i scroll down and pass the header another new , fixed and smaller header appers instead of the old one , i think it will depends on some jQuery functions but whatever it is i want to apply this styling so badly , I hope that somebody answers me and thanks :)
1 Answer
Jeremy Germenis
29,854 PointsWhat you are wanting is a waypoint: http://imakewebthings.com/jquery-waypoints/
When you get to a certain point while scrolling jquery can perform an action (like changing classes or styles on a menu to reposition it).
Douaji Ala'Eddine
Courses Plus Student 302 PointsDouaji Ala'Eddine
Courses Plus Student 302 PointsThanks mate :D