Results 1 to 3 of 3
Aug 27, 2011, 17:03 #1
- Join Date
- Dec 2006
- 0 Post(s)
- 0 Thread(s)
switching fixed elements when scrolling
I can't find an example of what I am looking for but I'm pretty sure I have seen it!
When you scroll down a page the first heading stays fixed on the screen and when the second heading is scrolled too this then stays on the screen until the third heading is reached and so forth.. Can this be done with jQuery?
if H2 is top of view port stay fixed until next H2 is top of view port?