回答編集履歴

1

インデント削除

2015/04/21 11:40

投稿

退会済みユーザー
test CHANGED
@@ -4,19 +4,19 @@
4
4
 
5
5
  ```
6
6
 
7
- if (scrTop > elmTop - winHeight + delayHeight && scrTop < elmTop + elmHeight) {
7
+ if (scrTop > elmTop - winHeight + delayHeight && scrTop < elmTop + elmHeight) {
8
8
 
9
- setThis.stop().animate({opacity:'1'},500);
9
+ setThis.stop().animate({opacity:'1'},500);
10
10
 
11
- // setThis.fadeIn(); ←ここ
11
+ // setThis.fadeIn(); ←ここ
12
12
 
13
- } else if (scrTop < elmTop - winHeight + delayHeight && scrTop < elmTop + elmHeight){
13
+ } else if (scrTop < elmTop - winHeight + delayHeight && scrTop < elmTop + elmHeight){
14
14
 
15
- setThis.stop().animate({opacity:'0'},500);
15
+ setThis.stop().animate({opacity:'0'},500);
16
16
 
17
- // setThis.fadeIn(); ←ここ
17
+ // setThis.fadeIn(); ←ここ
18
18
 
19
- }
19
+ }
20
20
 
21
21
  ```
22
22