回答編集履歴
1
chousei
test
CHANGED
@@ -2,9 +2,11 @@
|
|
2
2
|
|
3
3
|
$(function() {
|
4
4
|
|
5
|
-
|
5
|
+
var hideList = '.title-list li:nth-of-type(n+4)';
|
6
6
|
|
7
|
+
var speed=30;//larger the slower
|
8
|
+
|
7
|
-
|
9
|
+
$(hideList).hide();
|
8
10
|
|
9
11
|
$('.open-btn').on('click', function() {
|
10
12
|
|
@@ -14,7 +16,7 @@
|
|
14
16
|
|
15
17
|
$(hideList).each(function(num){
|
16
18
|
|
17
|
-
$(this).delay(num*
|
19
|
+
$(this).delay(num*speed).queue(function(){
|
18
20
|
|
19
21
|
$(this).show().toggleClass('on').dequeue();
|
20
22
|
|