teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

3

訂正

2020/10/27 06:39

投稿

AkitoshiManabe
AkitoshiManabe

スコア5434

answer CHANGED
File without changes

2

訂正

2020/10/27 06:39

投稿

AkitoshiManabe
AkitoshiManabe

スコア5434

answer CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ~~> MDN [scrollTop](https://developer.mozilla.org/ja/docs/Web/API/Window/screenTop)~~
6
6
  ~~> The Window.screenTop **read-only property** returns the vertical distance,
7
- in CSS pixels, from the top border of the user's browser viewport to the top side of the screen.~~
7
+ in CSS pixels, from the top border of the user's browser viewport to the top side of the screen.~~(引用ミスのため削除)
8
8
 
9
9
  目的の要素まで移動したい場合、以下のメソッドがあります。
10
10
 

1

訂正

2020/10/27 06:39

投稿

AkitoshiManabe
AkitoshiManabe

スコア5434

answer CHANGED
@@ -1,10 +1,10 @@
1
1
  > JSの「scrollTop」が機能しないです。
2
2
 
3
- 読み取り専用のプロパティですので、代入による位置指定はできません。
3
+ ~~読み取り専用のプロパティですので、代入による位置指定はできません。~~
4
4
 
5
- > MDN [scrollTop](https://developer.mozilla.org/ja/docs/Web/API/Window/screenTop)
5
+ ~~> MDN [scrollTop](https://developer.mozilla.org/ja/docs/Web/API/Window/screenTop)~~
6
- > The Window.screenTop **read-only property** returns the vertical distance,
6
+ ~~> The Window.screenTop **read-only property** returns the vertical distance,
7
- in CSS pixels, from the top border of the user's browser viewport to the top side of the screen.
7
+ in CSS pixels, from the top border of the user's browser viewport to the top side of the screen.~~
8
8
 
9
9
  目的の要素まで移動したい場合、以下のメソッドがあります。
10
10