Jump to page: 1 2
Thread overview
[dlang website] Up Arrow in library
May 18, 2015
Chris
May 18, 2015
wobbles
May 18, 2015
wobbles
May 18, 2015
Brad Anderson
May 18, 2015
Chris
May 18, 2015
w0rp
May 18, 2015
Walter Bright
May 19, 2015
Chris
May 19, 2015
Tobias Müller
May 20, 2015
rumbu
May 21, 2015
Chris
May 18, 2015
A small suggestion for the library layout (phobos etc) on dlang.org:

An up arrow like on duckduckgo would be cool, i.e. as soon as you scroll down an up arrow appears that brings you back to the top, if you click on it. This would be very convenient when browsing through the library. Would it be hard to add this feature? If needs be, I could write a JS function for that.
May 18, 2015
On Monday, 18 May 2015 at 09:18:55 UTC, Chris wrote:
> A small suggestion for the library layout (phobos etc) on dlang.org:
>
> An up arrow like on duckduckgo would be cool, i.e. as soon as you scroll down an up arrow appears that brings you back to the top, if you click on it. This would be very convenient when browsing through the library. Would it be hard to add this feature? If needs be, I could write a JS function for that.

Ctrl+Home Ctrl+End work wonders!
May 18, 2015
On Monday, 18 May 2015 at 10:25:26 UTC, wobbles wrote:
> On Monday, 18 May 2015 at 09:18:55 UTC, Chris wrote:
>> A small suggestion for the library layout (phobos etc) on dlang.org:
>>
>> An up arrow like on duckduckgo would be cool, i.e. as soon as you scroll down an up arrow appears that brings you back to the top, if you click on it. This would be very convenient when browsing through the library. Would it be hard to add this feature? If needs be, I could write a JS function for that.
>
> Ctrl+Home Ctrl+End work wonders!

(On chrome at least...)
May 18, 2015
On Monday, 18 May 2015 at 10:25:26 UTC, wobbles wrote:
> On Monday, 18 May 2015 at 09:18:55 UTC, Chris wrote:
>> A small suggestion for the library layout (phobos etc) on dlang.org:
>>
>> An up arrow like on duckduckgo would be cool, i.e. as soon as you scroll down an up arrow appears that brings you back to the top, if you click on it. This would be very convenient when browsing through the library. Would it be hard to add this feature? If needs be, I could write a JS function for that.
>
> Ctrl+Home Ctrl+End work wonders!

But you have to switch between keyboard and mouse. Not optimal.
May 18, 2015
"Back to top" links are dumb. Navigating to the top of the page is something the client browser should handle. In Firefox, I use a plugin with a mouse gesture myself, so holding right click and moving my mouse up takes me back to the top of the page. Either that, or I press my "home" or "end" keys.
May 18, 2015
On 5/18/2015 2:18 AM, Chris wrote:
> A small suggestion for the library layout (phobos etc) on dlang.org:
>
> An up arrow like on duckduckgo would be cool, i.e. as soon as you scroll down an
> up arrow appears that brings you back to the top, if you click on it. This would
> be very convenient when browsing through the library. Would it be hard to add
> this feature? If needs be, I could write a JS function for that.

Pressing the [Home] key does that.
May 18, 2015
On Monday, 18 May 2015 at 10:28:11 UTC, wobbles wrote:
> On Monday, 18 May 2015 at 10:25:26 UTC, wobbles wrote:
>> On Monday, 18 May 2015 at 09:18:55 UTC, Chris wrote:
>>> A small suggestion for the library layout (phobos etc) on dlang.org:
>>>
>>> An up arrow like on duckduckgo would be cool, i.e. as soon as you scroll down an up arrow appears that brings you back to the top, if you click on it. This would be very convenient when browsing through the library. Would it be hard to add this feature? If needs be, I could write a JS function for that.
>>
>> Ctrl+Home Ctrl+End work wonders!
>
> (On chrome at least...)

Home and End without Ctrl work fine for me.
May 19, 2015
On Monday, 18 May 2015 at 19:22:09 UTC, Walter Bright wrote:
> On 5/18/2015 2:18 AM, Chris wrote:
>> A small suggestion for the library layout (phobos etc) on dlang.org:
>>
>> An up arrow like on duckduckgo would be cool, i.e. as soon as you scroll down an
>> up arrow appears that brings you back to the top, if you click on it. This would
>> be very convenient when browsing through the library. Would it be hard to add
>> this feature? If needs be, I could write a JS function for that.
>
> Pressing the [Home] key does that.

And what do you use on touch screen devices? The up arrow (on duckduckgo for example) is very convenient. It's one of those little things that are not _strictly_ necessary but often come in handy.

I agree that a "back to top" link under every function would be kinda stupid. But a little arrow that resides unobtrusively in the corner of the browser window does no harm.
May 19, 2015
"Chris" <wendlec@tcd.ie> wrote:
> On Monday, 18 May 2015 at 19:22:09 UTC, Walter Bright wrote:
>> On 5/18/2015 2:18 AM, Chris wrote:
>>> A small suggestion for the library layout (phobos etc) on >> dlang.org:
>>> 
>>> An up arrow like on duckduckgo would be cool, i.e. as soon as >> you scroll down an up arrow appears that brings you back to the top, if you click >> on it. This would be very convenient when browsing through the library. Would it >> be hard to add this feature? If needs be, I could write a JS function for >> that.
>> 
>> Pressing the [Home] key does that.
> 
> And what do you use on touch screen devices? The up arrow (on duckduckgo for example) is very convenient. It's one of those little things that are not _strictly_ necessary but often come in handy.

On iOS (Safari) just tap on the status bar at the top, where the time and battery status is displayed.
May 20, 2015
> And what do you use on touch screen devices? The up arrow (on duckduckgo for example) is very convenient. It's one of those little things that are not _strictly_ necessary but often come in handy.
>
> I agree that a "back to top" link under every function would be kinda stupid. But a little arrow that resides unobtrusively in the corner of the browser window does no harm.

Any touch screen browser has this feature (On iOS tap on status bar, on Android diagonal swipe or on Windows use the dedicated Home button).

On desktop browsers there are various plugins to do that or you can add a favorite/bookmark/star button pointing to "javascript:scroll(0,0)".
« First   ‹ Prev
1 2