348 points · by bbrks · 13y ago · 167 comments
> One alternative is to ignore iOS and OS X users. But that’s not very nice. There are many scrolling libraries available that you can use, such as NiceScroll.
> Or you can just make your own indicator like the one seen at the very start of the article. Just don’t use a horizontal indicator for vertical progression :)
No! Do not do this. Just stop. Stop reinventing and reimplementing the scrollbar.
Going out of your way as a content author to correct for the user interface quirks of the reader's preferred reading environment seems extraordinary and unnecessary.
Presumably a non-trivial number of iOS and OS X users actually like the fact that scrollbars are hidden from view while reading and it may have been a factor (a small one, admittedly) in their decision process.
I agree with the OP in large measure.
I would actually say that it's outright user hostile to do this sort of garbage.
Here is what scroll bar does for me:
1. It gives me instant feedback about the size of the document (the shorter the scrollbar the bigger the document).
2. It shows me rough position in the document.
3. Provides reading context (I'm 35% into the document and I'm reading on subject X) which aids memorizing the material.
I'm a mathematician and numbers are my thing. Some people use number memorizing technique where they walk through a familiar place and assign numbers to landmarks. And to recall numbers they walk the route again in their head and "read" the numbers off the landmarks. This is the technique those freaks that can recite thousands and thousand of decimals of Pi use.
In effect the scroll bar does the same for me. It's my landmark and I assign topics to its position which allows me to remember better. If I want to quickly re-read something weeks later I can open the document and within seconds get there just by scroll bar position. And one could say search would work here too, but often times it does not because I don't remember exactly the string I want to find in the document (and some documents are not searchable).
Once I upgraded to Mountain Lion from Snow Leopard, I found the default scroll bar setting extremely bothersome and my read content retention much much lower until I put the scroll bars back.
So another anecdotal reason why dynamically showing/hiding UI elements is usually a bad idea.
"I've read this much of the article and I'm only 1/20th of the way down?" [user stops reading, unaware that there's 450 comments and the article is actually pretty short]
Thankfully there's still a setting to always show scrollbars. For now.
Originally, the scroll bar itself was the interface. You scrolled by clicking the little arrows, or by grabbing the scroll thumb and dragging. But when scroll wheels were introduced, the scroll bar became less necessary. And with the advent of trackpad magic/mouse scrolling, which support both horizontal and vertical scrolling, the scroll-bar-as-interface becomes ridiculous.
(Note that the default OS X behavior is not "hide scroll bars," but "hide scroll bars if your mouse or trackpad supports scrolling.")
That said, while there's no longer much need to interact with scroll bars, there's still a need to indicate that scrolling is possible, and possibly your position in the document. But surely we can convey that in fewer than the ten thousand pixels that a scroll bar consumes?
I'm nevertheless of the point of view that the content author should not fuss with these specific particulars, leaving them instead to the discretion of the designers of the reading environment itself. The consumer of the content can then weigh the design of those elements when selecting a preferred reading environment.
Thankfully you can make scroll bars persistent in System Preferences.
I read a lot on my mac, and I love the lack of scrollbar. It's one less 'element' on my reading experience (similar to almost all ebook readers not having chrome, like scrollbars and page numbers, or hiding chrome unless specifically requested). And because of how integral and 'decent' using the touchpad is (two finger scroll), I automatically scroll briefly to show the scrollbar in those few instances where I care about what position on the page I'm at.
Of course, that's just one example, but I know many others who feel similarly. 'Apple knows best' doesn't just mean marketing and pretty, it often means decent choices that are good for a large percentage of people, and yes, you have to accept that.
I find apple does do a lot of stuff that doesn't work for me. Even the lack scroll bars I rather hate when I use Finder (and don't get me started on that!). I use an android phone for that very reason.
I don't always like the choices that apple makes for me, and I might reach a point where I opt out completely. I'm just saying that in this case I think apple made a risky but decent choice, that wasn't just about 'pretty' or 'marketing'.
I see it whenever I switch tabs, and I see it whenever I start to scroll. I always have an idea of how long the page is and I don't need a constant reminder of it. It's not like it's a precision instrument anyway - who can precisely gauge the length of an article based on scroll bar length and current window size? Rain Man?
I can switch back to the always-on behavior if I want to, but I haven't wanted to.
Reimplementing the scrollbar for users who have not taken the option to show the scrollbar is deliberately going against their stated preference.
While in general I agree with your post, I think saying it goes "against their stated preferences" is a bit strong considering that (from what I've read here) not showing the scrollbar is the default. In my experience many people never change the defaults.
Interesting, on what devices? We are using NiceScroll for a widget right now and it's very smooth, even on my Nexus 4.
At the end of the day, customers and others browsing your site are unlikely to understand why there's no visual indication on their mac, and why you didn't put one on your site.Sooo.. if you're forced to put a visual indicator, at the very least least, make it vertical for page scrolling.
(and also, thanks for nothing, Apple UI)
First off, I wouldn't call that "Easy" code, or an "Easy" solution if that it is untested? More like a hypotheses. Secondly, I don't think that is a good alternative solution at all. That seems like a very messy way to handle the indication by changing the size of the scrollbar based on user triggered events.
While there are some decent points in this article (such as not splitting up your content into pages for ads), I think it still doesn't do a good job of defending why the top vertical bar for progress indication is bad. Nor does it give a good alternative.
And, as clone1018 pointed out in another comment, I don't think the indication feature was meant to be this ground-breaking UX feature or anything. I think it's more of some eye-candy for his blog.
I would be much more interested in a counter argument article on using the top horizontal bar for loading purposes (like YouTube does), since that is becoming more of a common UX feature.
It's not exactly untested, there are lots of sites that wait to load in comments via AJAX until the user has scrolled down to the comment section. Many simply hide comments until the user clicks "show comments". Both are valid alternate solutions to the initial counterpoint ("what about the comments section!!!").
The OP is not talking about the progress bar as an indicator of page loading, like the other discussions on HN recently. Instead, he was mentioning someone's suggestion that it be used like a scroll bar to mimic the progress of scrolling down the page.
On Genera, when you moused over the vertical scroll bar, a thin horizontal line appears across the screen at whatever x height your mouse was is. You could then click to tell the OS that you wanted to wanted to reflow the page using that x height as a reference point. If you pointed your mouse at the horizontal scroll bar, a vertical line appeared, and you could scroll left to right. This is sort of like pressing Control-l on Emacs. Instead scrolling and getting the desired result by trial and error, you could tell the OS exactly what you wanted to do. It was very useful for scrolling within pictures.
You can see a video of this here [1] at 46:50.
Obviously, this is pretty much how the size of the bar is calculated already, but few designs actually translate it very well. That's what really struck me about the iOS and OS X Lion scroll bars over the others he showed. They really do a much better job at actually conveying this to the user, or at least, they did for me. Ubuntu's terminal scrollbar is also similar in this regard. It would be awesome to see default designs start to focus on this in the future.
It's likely things can be improved further, but IMO this is a better starting point than what we had before.
But then I realized that book and magazine publishers have been "reinventing the page number" since before there was a web.
Of course information designer will be reinventing the elements of the UI. The process of design is making form and content a unified whole.
* horizontal progress for vertical content is bad
* infinite scroll is better than pages/tabs/whatever
Just saying "poor natural mapping" doesn't mean horizontal progress is wrong and just saying "why would you" doesn't make pages wrong.
I'd like to see data to support those assumptions. On infinite scroll I'd bet horizontal progress has minuscule negative impact on usability vs vertical progress. On paged I bet it performs just as well.
And regarding pages vs infinite scroll, I bet pages actually perform much better. Infinite scroll is elegant for us, the developers, but for users it presents a dramatic increase in cognitive load to constantly be orienting yourself in this infinite space with hints of often unrelated content above and below. With lots of content, infinite scroll actually encourages people to scroll which is usually the last thing you actually should do. If the primary means of navigation is via a navigation menu (aka the content needs to be organized, not an article), then why the hell would you dump all the output into one giant bucket of content?
I can also offer some reasoning: when the scroll bar is vertical, it moves in the same direction as the direction of your scrolling movement on the mouse. This makes it easier to mentally connect your fingers’ scrolling movement to the scrolling on the screen, which makes the device use easier and more intuitive. In the case of iOS and OS X 10.7 and later, your finger movement is in the same direction as the content rather than the scroll bar, but it’s still something on the screen moving with your fingers. But a horizontal scroll bar moving when you push your fingers vertically is too abstract a concept for your mind to intuitively grasp, so it’s harder to use.
An article shouldn’t be split across multiple pages on the web!
We have an infinitely long canvas to write on, along with an elegant
way of moving through it. Why would you need to split it up?"
Well, there are some times you would want to break up a long article. E.G. A tutorial that can touch on multiple steps can be helped with multiple pages. An alternative would be to provide in-page anchors and a contents list a la Wikipedia. This way you can link to or bookmark a particular step easily.If anyone has a suggestion, shoot. I went so far as looking for a hotkey for toggling scrollbar display (which I still think would be a good idea), but couldn't find anything. For the record, I'm using Synergy to control mouse/keyboard from a Ubuntu box with a MBP slave machine.
Horizontal scrolling with the mouse wheel is done by moving the mouse wheel with the shift key down.
Note that just touching the trackpad with two fingers, as if you're about to scroll, also brings up both scrollbars.
Very frustrating.
Regarding using such a bar as an indicator of page-scroll progress, I'm indifferent. It's not intrusive, so if I don't care for it, it doesn't bother me. For those who do care for it, I think the horizontal positioning is easier to gauge page-scroll progress because looking up is easier than looking all the way over to the right of my viewport (I never look over there because I use a scroll-wheel or touchpad to do the scrolling ;)
Or why not put one at each heading of the page.
Implementing this accurately on a web page with js is a bit tricky since most browsers display progress bars differently. The biggest problem is if it has tiny arrows at both ends or only on one side. You will get a few pixels off if you try to match the native scroll bar. Another option is to put a second scroll bar next to the native one that is annotated, I've found this to be the most reliable option.
An API from the browser to get help from the native scroll bar, or to enhance the native scroll bar would be great.
I love how OS X/iOS scroll bar disappear. You know from the content you are reading where you are on the page. It's very, very rare (probably never) that I am lost on a page and I have to scroll slightly up/down to know where I am.
Also, isn't the scroll bar really useful when you need to scroll up and down the page quickly by an arbitrary amount?
I expected someone asking about scrolling an arbitrary amount. After all these years of reading internet articles and pdf manuals on Mac/iOS, I've rarely ever encountered a case where clicking the position on the scroll bar beats the speed of flickering the trackpad (and that's even excluding the precision). In fact, there's rarely an internet page where I can't get to the end within one flick.
http://www.theverge.com <- this is one flick
(While we're at it, yes, you can still drag OS X's scroll bar if you really want to. I've used it for pdf manuals).
It's not a problem that needs solving. OSX/iOS users are very used to this and it is second nature.
Scrollbar within a scrollbar!
<div style="height: 100%; overflow-y: auto">
Content
</div>
<div id="comments">...</div>Re-imagine content. Eliminate scrolling. Keep content represented on the screen. Elegent, progressively granular navigation on the screen.
I love when a scrollbar handle thins to represent the proportion of content on the screen and shits the usability bed.
You have only so many words left to say or type. Use less. Live/Say more. Condense information to fit the medium. Lose you paradigm.
Writers are paid by the word and we pay by the byte. Writers shit the net. Don't waste my life with words. Get to the point. We're dying here.
In the case of an image, the ways of seeing different parts of the image I can think of are zooming in and out, scrolling with scroll bars, or paginating the image. I think allowing both zooming and scrolling is the best interface in that case. So scrolling is sometimes necessary, and should not be abolished.
Kill the CPM model and your wish will come true. Unfortunately, advertisers often first ask "Well how many pageviews does your <site/app/whatever> have?" Most advertising metrics are still stuck 10 years behind where we are and where we're going.
I do it that way and I have seen many people who do it the same. However I agree, that pages are bullshit in a web context.
There are some very good use cases for pagination. Granted, you shouldn't be using it on an article but if you're browsing 500+ records its a lot easier to paginate them than it is to have the user come back later and have to scroll to where they were before.
Needless to say the project was years behind. I'm glad I never got too close to it.
[Note: never said anything about custom scrollbars; just that websites with scrolling divs tend to look better on OSX]
If you hate that my scrollbar is hidden when not in use, well, tough luck. I like it this way.
If you force yet another custom, badly-implemented, weirdly-behaving, not-entirely-thought-through scrollbar on me, I will hate you and never visit your website again.
Pretty sure Gmail uses custom scrollbars and I wouldn't be surprised if it's the most commonly used e-mail in the world.
I think Facebook also uses a custom scrollbar on their activity feed.
Same with Rdio's web app and Spotify's web app (unless it looks different on PC?)
It does. It's pretty obnoxious, but they're at least well-implemented, unlike most custom scrollbars.
> I think Facebook also uses a custom scrollbar on their activity feed.
It doesn't (or at least it doesn't in Safari; maybe it does in other browsers?)
If you decide that you want to show multiple ads, just intersperse them throughout the content. Break it up and insert them in between some of the paragraphs
Unity is even worse, with its overlay scrollbars.
> Maybe there are better ways of monetising than forcing
>multiple pages of ads down your users throats? :)
If only life were so black and white.Plus there's really no reason split them up. It's not a book, there's no limit on page length.
It looks like there is not a "main blog" page to go to.
Shudder.