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

質問編集履歴

2

'mouseenter', '.slide-dots > li' → 'mouseenter', '.slide-dots > li button'

2018/03/27 05:37

投稿

yukabyo
yukabyo

スコア135

title CHANGED
File without changes
body CHANGED
@@ -34,7 +34,7 @@
34
34
  fade: true,
35
35
  });
36
36
  });
37
- $( '.top_mainimage_slide' ).on( 'mouseenter', '.slick-dots > li', function() {
37
+ $( '.top_mainimage_slide' ).on( 'mouseenter', '.slide-dots > li button', function() {
38
38
  $( this ).click();
39
39
  } );
40
40
  </script>

1

追記

2018/03/27 05:37

投稿

yukabyo
yukabyo

スコア135

title CHANGED
File without changes
body CHANGED
@@ -34,5 +34,9 @@
34
34
  fade: true,
35
35
  });
36
36
  });
37
+ $( '.top_mainimage_slide' ).on( 'mouseenter', '.slick-dots > li', function() {
38
+ $( this ).click();
39
+ } );
37
40
  </script>
41
+
38
42
  ```