javascript-tutorial / javascript-tutorial/en.javascript.info

Implement link in left hand navigation panel to top of page. Maybe?

Ouverte
#3,160 1 commentaire 0 réactions 1 personne assignée Voir sur GitHub

@Bezart y travaille déjà.

Depuis le 27/8/2022.

Langage dominant
HTML
Étoiles
25.5k
Forks
4k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I was reading script-async-defer, and I started to navigate backwards up the page using the navigation panel on the left. I have used the navigation panel before to go down the page, but I prefer to use the mouse wheel and keep my pointer in the middle of the screen.

However, this time I decided to scan the article in reverse and I noticed that it was useful for reinforcing what I had just read. However, I could not get back to the very top.

I notice that the only place that href="#" is used in the source code is in the code examples.

Maybe, a link at the top of the navigation panel to the top of the page would be useful. For example:
<a href="#">Scripts: async, defer</a>

And maybe another one at the bottom of the content:
<a href="#">Back to top of page</a>

I can find a use case for both buttons.

  • The link in the navigation panel would be used as described above.
  • I would use the Back to top of page link in this way, for example:
    1. I would scan the page relatively quickly using my mouse wheel, until I reached the bottom of the page.
    2. At the bottom, I would press Back to top of page and then read the whole page again more slowly.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.