質問編集履歴
4
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -270,30 +270,28 @@
|
|
270
270
|
|
271
271
|
```
|
272
272
|
|
273
|
+
```CSS
|
274
|
+
|
275
|
+
.invisible {
|
276
|
+
|
277
|
+
transition: opacity 0.5s ease;
|
278
|
+
|
279
|
+
opacity: 0.0;
|
280
|
+
|
281
|
+
}
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
.visible {
|
286
|
+
|
287
|
+
transition: opacity 0.5s ease;
|
288
|
+
|
289
|
+
opacity: 1.0;
|
290
|
+
|
291
|
+
}
|
292
|
+
|
273
293
|
```
|
274
294
|
|
275
|
-
.invisible {
|
276
|
-
|
277
|
-
transition: opacity 0.5s ease;
|
278
|
-
|
279
|
-
opacity: 0.0;
|
280
|
-
|
281
|
-
}
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
.visible {
|
286
|
-
|
287
|
-
transition: opacity 0.5s ease;
|
288
|
-
|
289
|
-
opacity: 1.0;
|
290
|
-
|
291
|
-
}
|
292
|
-
|
293
|
-
コード
|
294
|
-
|
295
|
-
```
|
296
|
-
|
297
295
|
|
298
296
|
|
299
297
|
### 試したこと
|
3
文法の修正・追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -270,6 +270,30 @@
|
|
270
270
|
|
271
271
|
```
|
272
272
|
|
273
|
+
```
|
274
|
+
|
275
|
+
.invisible {
|
276
|
+
|
277
|
+
transition: opacity 0.5s ease;
|
278
|
+
|
279
|
+
opacity: 0.0;
|
280
|
+
|
281
|
+
}
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
.visible {
|
286
|
+
|
287
|
+
transition: opacity 0.5s ease;
|
288
|
+
|
289
|
+
opacity: 1.0;
|
290
|
+
|
291
|
+
}
|
292
|
+
|
293
|
+
コード
|
294
|
+
|
295
|
+
```
|
296
|
+
|
273
297
|
|
274
298
|
|
275
299
|
### 試したこと
|
2
書式の改善・タイトルの修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ScrollTrigger.jsとanimate.cssが動作
|
1
|
+
ScrollTrigger.jsとanimate.cssが動作せず困っています
|
test
CHANGED
@@ -280,22 +280,22 @@
|
|
280
280
|
|
281
281
|
|
282
282
|
|
283
|
-
<script>
|
283
|
+
> <script>
|
284
|
-
|
284
|
+
|
285
|
-
document.addEventListener('DOMContentLoaded', function(){
|
285
|
+
> document.addEventListener('DOMContentLoaded', function(){
|
286
|
-
|
286
|
+
|
287
|
-
ScrollTrigger.init();
|
287
|
+
> ScrollTrigger.init();
|
288
|
-
|
288
|
+
|
289
|
-
});
|
289
|
+
> });
|
290
|
-
|
290
|
+
|
291
|
-
</script>
|
291
|
+
> </script>
|
292
|
-
|
293
|
-
|
294
|
-
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
-
ScrollTrigger.init();
|
295
|
+
ScrollTrigger.init();を var trigger = new ScrollTrigger();に変更したのですが未だエラーが出る
|
296
|
-
|
297
|
-
|
298
|
-
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
-
index.html:398 Uncaught TypeError: ScrollTrigger is not a constructor
|
299
|
+
> index.html:398 Uncaught TypeError: ScrollTrigger is not a constructor
|
300
|
-
|
300
|
+
|
301
|
-
at HTMLDocument.<anonymous>
|
301
|
+
> at HTMLDocument.<anonymous>
|
1
エラーメッセージの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -293,3 +293,9 @@
|
|
293
293
|
|
294
294
|
|
295
295
|
ScrollTrigger.init(); を var trigger = new ScrollTrigger();に変更したのですが未だエラーが出る
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
index.html:398 Uncaught TypeError: ScrollTrigger is not a constructor
|
300
|
+
|
301
|
+
at HTMLDocument.<anonymous>
|