更新时间:2022-10-21 22:38:37
I noticed in your answer #this
disappears abruptly once you get down to #footer
. I've tweaked your answer to allow for #this
to stick to #footer
and scroll which is a lot smoother.
My demo uses slightly different markup and is a little more verbose so jump over to jsFiddle and check it out.