Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Often, I'm reading a really long answer, and I scroll down to read it. Then, when I want to vote it up or down, the the voting buttons are farther up the page (because I scrolled down), where I can't see them.

Yes, I could scroll all the way up, which I usually do, but some users might be too lazy to do it. Also, since they can't see the vote button, they might forget to vote. And, it's annoying to have to scroll up, so some users might just not bother to vote.

What I propose is that we implement something similar to what OMGUbuntu does with their sharing buttons. Basically, when the voting buttons are not visible because a user scrolled past them, they should have a fixed position on the screen. However, once a user has scrolled past the answer or question in question, the voting button for that specific answer or question can be hidden again.

More examples: CSSTricks, the FAQ, and this answer (which shows what it will look like on Stack Exchange)

share|improve this question
Related: – casperOne Mar 3 '12 at 14:20
This could be useful – Ben Brocka Mar 3 '12 at 15:22
God I hate it when sites do this "floating element" thing. I vote "Nay". – Josh Caswell Mar 3 '12 at 18:49
See also: – Ambo100 Mar 3 '12 at 20:11
A "top of page" link is something different I feel, @Ambo100. And like you answered yourself: that has keyboard shortcut equivalents in all browsers. – Arjan Mar 4 '12 at 11:00
@JoshCaswell, Any particular examples that are especially distasteful? I would think that such a behavior could be done tastefully and in such a way as to not make things more cluttered or irritating. I do agree with you that this is often abused, but I also find it very useful when done well (ie. for things that matter to me and not for stupid things like "share this" icon links) – cdeszaq Mar 5 '12 at 23:01
@cdeszaq: No examples, sorry. It's just a personal (perhaps unfounded) distaste for a web page not acting like a "document". I just don't feel (note I don't say "think") like scrolling should make the layout change. Buttons, expansion arrows are another thing. If this gets implemented, I'll get used to it. – Josh Caswell Mar 6 '12 at 1:17
Might this create accessibility issues? – Benjol Mar 6 '12 at 7:55
status-completed. Blech. – Josh Caswell Jun 4 '15 at 18:55
@JoshCaswell I'm sorry, I hope there's a way to turn it off. Thanks for letting me know though, I had no idea that they were implementing it (after 3 years). – Hamlet Jun 5 '15 at 1:23

I made a quick prototype you can try. Go to a question page and paste this in the address bar to try it:

            var el = $(this);
            var scrollTop = $(window).scrollTop();
            var p = el.parent();
            var y = Math.min(Math.max(0, scrollTop - p.offset().top), p.height() - el.height());
            el.css("position", "relative");
            el.css("top", y + "px");

It has some issues, but it should at least give you an idea of what it would look like.

share|improve this answer
It works but has a noticeable slowdown when scrolling. – Jeff Mercado Mar 4 '12 at 21:35
I just took Hammar's code (which implements this feature) and turned it into a greasemonkey script. Get it at – Hamlet May 6 '12 at 21:01

You must log in to answer this question.

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