What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

I'm curious; how did you do that widget on the SO FAQ page, where the question sidebar scrolls up with the page until it reaches the window top, then stays put while the rest of the page continues to scroll?

share|improve this question

closed as off topic by Michael Petrotta, Mat, Manishearth, Matt, jadarnel27 Jul 3 '12 at 13:23

Questions on Meta Stack Exchange are expected to relate to the software that powers the Stack Exchange network within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
This should be on stack overflow with the stackoverflow.com tag –  Anish Gupta Jul 3 '12 at 12:45

1 Answer 1

This menu is warped with a div, starting with parameters position:relative. This div is positioned on the right place using the rest struct of the page.

Now a script runs and when the top of this div is getting out of the screen this div get the style position:fixed;bottom:0px. This now make it stay as you see, at the same fixed position.

You can call that floating menu, and I have found and use in the past relative to that style here : http://www.dynamicdrive.com/dynamicindex1/staticmenu.htm

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .