Hacker News new | past | comments | ask | show | jobs | submit login

I use this on my site.. but for a different reason. Showing scroll location on very long articles. Like this one http://paulstamatiou.com/android-is-better

I was actually going to also have it display a toast-like "7 minutes [of reading] left" on the top left when you scroll a good amount.




Hey, just a heads up -- it looks like your SSL certificate is mismatched to your domain, and chrome throws up red flags over it.


oops, that's because I don't use ssl and typed it in incorrectly :) I should redirect it though


Why? There's a scroll bar in the OS that does exactly the same thing. At the same time. But accurately.


which automatically hides


If you want to see it you can quickly get it (at least with the latest Mac OS, I don't know about Windows).

Having a thing across the top is perpendicular and doesn't relate to the vertical structure of a scrolling page. You have change the vertical position of your eyes to see it in a context where vertical position is significant.


Using a horizontal bar to denote vertical position is a tad unintuitive. I feel like this doesn't really solve the problem you are talking about, and instead adds to the confusion of readers who notice the bar.

Edit: Keep in mind that as I'm reading the story, my eyes are nowhere near the top of the browser. If you want to give me context, the top of the page is not the best place to provide it. It does make for a cool demo though.


I made a jQuery plugin called Progress to do this. https://github.com/RyanNielson/jquery-progress

I whipped it up pretty quickly so if there are any issues or enhancement ideas feel free to post them on Github.


Actually I read the article but never noticed that scroll locator at the top. Anyways it is kind of useless if you are on windows where the scroll bar is always in the view. Anyways nice article!




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: