javascript-tutorial / javascript-tutorial/en.javascript.info
Implement link in left hand navigation panel to top of page. Maybe?
@Bezart 已经在做这个了。
开始于 2022年8月27日。
- 主要语言
- HTML
- 星标
- 25.5k
- 派生
- 4k
- PR 合并指标
- 30 天内没有已合并 PR
描述
I was reading [script-async-defer](https://javascript.info/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:
`Scripts: async, defer`
And maybe another one at the bottom of the content:
`Back to top of page`
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.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。