Re: [dlang website] Up Arrow in library

2015-05-21 Thread Chris via Digitalmars-d

On Wednesday, 20 May 2015 at 21:49:13 UTC, rumbu wrote:
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).


I've settled for Scroll To Top:

http://pratikabu.users.sourceforge.net/extensions/scrolltotop/

It's customizable and has different scroll modes.


Re: [dlang website] Up Arrow in library

2015-05-20 Thread rumbu via Digitalmars-d
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).


Re: [dlang website] Up Arrow in library

2015-05-19 Thread Chris via Digitalmars-d

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.


Re: [dlang website] Up Arrow in library

2015-05-19 Thread Tobias Müller via Digitalmars-d
Chris wend...@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.


Re: [dlang website] Up Arrow in library

2015-05-18 Thread w0rp via Digitalmars-d
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.


Re: [dlang website] Up Arrow in library

2015-05-18 Thread Chris via Digitalmars-d

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.


Re: [dlang website] Up Arrow in library

2015-05-18 Thread wobbles via Digitalmars-d

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...)


[dlang website] Up Arrow in library

2015-05-18 Thread Chris via Digitalmars-d
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.


Re: [dlang website] Up Arrow in library

2015-05-18 Thread wobbles via Digitalmars-d

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!


Re: [dlang website] Up Arrow in library

2015-05-18 Thread Walter Bright via Digitalmars-d

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.


Re: [dlang website] Up Arrow in library

2015-05-18 Thread Brad Anderson via Digitalmars-d

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.