質問編集履歴
5
削除された内容の復元を行いました
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
|
1
|
+
jQueryプラグイン"shuffle.js"を用いたAND検索の実装について
|
body
CHANGED
@@ -1,3 +1,221 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
### jQueryプラグイン"shuffle.js"を用いたAND検索の実装について
|
2
|
+
記事を設定したラベルでフィルタリングするページを作成しています。
|
3
|
+
例えばラベルAとラベルB,両方の属性を持つを絞りたいといった感じです。
|
4
|
+
ラベルAだけといった単一のラベルを用いた絞り込みはできているのですが,2つ以上のラベルの実装で行き詰まっています
|
5
|
+
### 二つ目のボタンを押すとそれ以前に押したラベルのアクティブ状態がクリアされる
|
6
|
+
```
|
7
|
+
<script>
|
8
|
+
$(function() {
|
9
|
+
//ボタンが押されたときの処理
|
10
|
+
$('#btn li').on('click', function() {
|
11
|
+
var $this = $(this),
|
12
|
+
$grid = $('#animationList');
|
13
|
+
$('#btn .active').removeClass('active')
|
14
|
+
$this.addClass('active');
|
15
|
+
$grid.shuffle($this.data('group'));
|
16
|
+
});
|
17
|
+
$('#animationList').shuffle({
|
18
|
+
group: 'all',
|
19
|
+
speed: 700,
|
20
|
+
easing: 'ease-in-out'
|
21
|
+
});
|
22
|
+
});
|
23
|
+
</script>
|
24
|
+
```
|
25
|
+
### HTML
|
26
|
+
```HTML
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
<div id="wrapper">
|
30
|
+
<h1>Search Field</h1>
|
31
|
+
<ul id="btn">
|
32
|
+
<li data-group="health" name="health" id="health"># Health Care</li>
|
33
|
+
<li data-group="learning" name="learning" id="learning"># Learning / Optimization</li>
|
34
|
+
<li data-group="stim" name="stim" id="stim"># Electrical Stimulation</li>
|
35
|
+
</ul>
|
36
|
+
<ul id="btn">
|
37
|
+
<li data-group="robot" name="robot" id="robot"># Robotics</li>
|
38
|
+
<li data-group="vrar" name="vrar" id="vrar"># VR / AR</li>
|
39
|
+
<li data-group="autonomous" name="autonomous" id="autonomous"># Autonomous Control</li>
|
40
|
+
</ul>
|
41
|
+
<ul id="btn">
|
42
|
+
<li data-group="ah" name="ah" id="ah"># Human Augumentation</li>
|
43
|
+
<li data-group="is" name="is" id="is"># Real Work Space</li>
|
44
|
+
<li data-group="sc" name="sc" id="sc"># Smart Charging</li>
|
45
|
+
</ul>
|
46
|
+
</br>
|
47
|
+
</br>
|
48
|
+
<h1>Our Research</h1>
|
49
|
+
</hr>
|
50
|
+
</br>
|
51
|
+
</br>
|
52
|
+
<ul id="animationList" style="position: relative; transition: height 700ms ease-in-out 0s; height: 720px;">
|
53
|
+
<li data-groups="["health","ah","stim","vrar"]" class="filtered" data-x="0" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事A</span></li>
|
54
|
+
<li data-groups="["learning","ah","stim","vrar"]" class="filtered" data-x="240" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">Motionless</span></li>
|
55
|
+
<li data-groups="["is","ah","vrar"]" class="filtered" data-x="480" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(480px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事B</span></li>
|
56
|
+
<li data-groups="["ah","vrar"]" class="filtered" data-x="720" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(720px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事C</span></li>
|
57
|
+
<li data-groups="["learning","health","ah","stim"]" class="filtered" data-x="0" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事D</span></li>
|
58
|
+
<li data-groups="["is","learning","health"]" class="filtered" data-x="240" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事E</span></li>
|
59
|
+
<li data-groups="["robot","is","learning"]" class="filtered" data-x="480" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(480px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事F</span></li>
|
60
|
+
<li data-groups="["sc","autonomous","robot","is"]" class="filtered" data-x="720" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(720px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事G</span></li>
|
61
|
+
<li data-groups="["sc","autonomous","learning"]" class="filtered" data-x="0" data-y="480" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 480px, 0px) scale3d(1, 1, 1);"><span class="grey">記事H</span></li>
|
62
|
+
<li data-groups="["sc","autonomous","is"]" class="filtered" data-x="240" data-y="480" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 480px, 0px) scale3d(1, 1, 1);"><span class="grey">記事I</span></li>
|
63
|
+
</ul>
|
64
|
+
</div>
|
65
|
+
</body></html>
|
66
|
+
```
|
67
|
+
### CSS
|
68
|
+
```CSS
|
69
|
+
/* html5
|
70
|
+
---------------------------------------------------------------*/
|
71
|
+
article,
|
72
|
+
aside,
|
73
|
+
details,
|
74
|
+
figcaption,
|
75
|
+
figure,
|
76
|
+
footer,
|
77
|
+
header,
|
78
|
+
hgroup,
|
79
|
+
menu,
|
80
|
+
nav,
|
81
|
+
section {
|
82
|
+
display: block;
|
83
|
+
margin: 0;
|
84
|
+
padding: 0;
|
85
|
+
}
|
86
|
+
body {
|
87
|
+
background-color: #f6f6f6;
|
88
|
+
}
|
89
|
+
#wrapper {
|
90
|
+
width: 1360px;
|
91
|
+
margin: 0 auto;
|
92
|
+
color: #7d7d7d;
|
93
|
+
padding-top: 30px;
|
94
|
+
padding-bottom: 60px;
|
95
|
+
}
|
96
|
+
h1 {
|
97
|
+
margin: 50px 0 70px;
|
98
|
+
}
|
99
|
+
.alpha {
|
100
|
+
display: inline-block\9;
|
101
|
+
zoom: 1;
|
102
|
+
line-height: 1;
|
103
|
+
}
|
104
|
+
.alpha:hover {
|
105
|
+
opacity: 0.9;
|
106
|
+
filter: alpha(opacity=70);
|
107
|
+
}
|
108
|
+
.active {
|
109
|
+
background-color: #EEEEEE;
|
110
|
+
color:#ff8c00;
|
111
|
+
}
|
112
|
+
#btn {
|
113
|
+
overflow: hidden;
|
114
|
+
margin-top: 50px;
|
115
|
+
margin-bottom: 40px;
|
116
|
+
display: : inline-block;
|
117
|
+
font-size: 22px;
|
118
|
+
cursor: pointer;
|
119
|
+
}
|
120
|
+
#btn li {
|
121
|
+
float: left;
|
122
|
+
margin: 10px;
|
123
|
+
cursor: pointer;
|
124
|
+
border: solid;
|
125
|
+
border-width: 2px;
|
126
|
+
padding: 10px;
|
127
|
+
box-shadow: 2px 2px 4px #808080;
|
128
|
+
}
|
129
|
+
#animationList {
|
130
|
+
overflow: hidden;
|
131
|
+
}
|
132
|
+
#animationList li {
|
133
|
+
width: 390px;
|
134
|
+
height: 390px;
|
135
|
+
padding: 10px;
|
136
|
+
float: left;
|
137
|
+
color: #fff;
|
138
|
+
}
|
139
|
+
#animationList li span {
|
140
|
+
display: block;
|
141
|
+
width: 360px;
|
142
|
+
height: 340px;
|
143
|
+
padding: 20px;
|
144
|
+
}
|
145
|
+
.box_image{
|
146
|
+
height: 220px;
|
147
|
+
overflow-x: hidden;
|
148
|
+
overflow-y: hidden;
|
149
|
+
}
|
150
|
+
.red {
|
151
|
+
background-color: #cf0000;
|
152
|
+
}
|
153
|
+
.blue {
|
154
|
+
background-color: #0208da;
|
155
|
+
}
|
156
|
+
.green {
|
157
|
+
background-color: #2baa08;
|
158
|
+
}
|
159
|
+
.yellow {
|
160
|
+
background-color: #e8ec04;
|
161
|
+
}
|
162
|
+
.grey{
|
163
|
+
background-color: #555555;
|
164
|
+
}
|
165
|
+
/* Reset
|
166
|
+
------------------------------------------------------------*/
|
167
|
+
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, input, textarea, p, blockquote, th, td {
|
168
|
+
margin: 0;
|
169
|
+
padding: 0;
|
170
|
+
}
|
171
|
+
address, em, strong, th {
|
172
|
+
font-style: normal;
|
173
|
+
}
|
174
|
+
table {
|
175
|
+
border-collapse: collapse;
|
176
|
+
border-spacing: 0;
|
177
|
+
}
|
178
|
+
th {
|
179
|
+
text-align: left;
|
180
|
+
}
|
181
|
+
hr, legend {
|
182
|
+
display: none;
|
183
|
+
}
|
184
|
+
h1, h2, h3, h4, h5, h6 {
|
185
|
+
font-size: 100%;
|
186
|
+
}
|
187
|
+
img {
|
188
|
+
border: 0;
|
189
|
+
vertical-align: middle;
|
190
|
+
}
|
191
|
+
li {
|
192
|
+
list-style-type: none;
|
193
|
+
}
|
194
|
+
/* Fonts
|
195
|
+
------------------------------------------------------------*/
|
196
|
+
body {
|
197
|
+
font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"MS Pゴシック","MS PGothic",Arial,Helvetica,Verdana,sans-serif;
|
198
|
+
line-height: 1.5;
|
199
|
+
color: #313131;
|
200
|
+
}
|
201
|
+
/* clearfix
|
202
|
+
------------------------------------------------------------*/
|
203
|
+
.clearfix:after {
|
204
|
+
content: "";
|
205
|
+
display: block;
|
206
|
+
font-size: 0;
|
207
|
+
visibility: hidden;
|
208
|
+
height: 0;
|
209
|
+
clear: both;
|
210
|
+
}
|
211
|
+
/* clearfix for IE7 */
|
212
|
+
.clearfix {
|
213
|
+
display: inline-block;
|
214
|
+
}
|
215
|
+
.clearfix {
|
216
|
+
display: block;
|
217
|
+
}
|
218
|
+
```
|
219
|
+
### 参考サイト
|
220
|
+
元のコードは以下のサイトから引っ張ってきました。
|
221
|
+
[N - log.net](http://www.n--log.net/demo/animation-sort-shuffle.html)
|
4
None
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
|
1
|
+
None None None
|
body
CHANGED
File without changes
|
3
削除
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,263 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
例えばラベルAとラベルB,両方の属性を持つを絞りたいといった感じです。
|
5
|
-
ラベルAだけといった単一のラベルを用いた絞り込みはできているのですが,2つ以上のラベルの実装で行き詰まっています
|
6
|
-
|
7
|
-
### 二つ目のボタンを押すとそれ以前に押したラベルのアクティブ状態がクリアされる
|
8
|
-
```
|
9
|
-
<script>
|
10
|
-
$(function() {
|
11
|
-
//ボタンが押されたときの処理
|
12
|
-
$('#btn li').on('click', function() {
|
13
|
-
var $this = $(this),
|
14
|
-
$grid = $('#animationList');
|
15
|
-
|
16
|
-
$('#btn .active').removeClass('active')
|
17
|
-
$this.addClass('active');
|
18
|
-
$grid.shuffle($this.data('group'));
|
19
|
-
|
20
|
-
});
|
21
|
-
|
22
|
-
$('#animationList').shuffle({
|
23
|
-
group: 'all',
|
24
|
-
speed: 700,
|
25
|
-
easing: 'ease-in-out'
|
26
|
-
});
|
27
|
-
});
|
28
|
-
</script>
|
29
|
-
```
|
30
|
-
|
31
|
-
### HTML
|
32
|
-
|
33
|
-
```HTML
|
34
|
-
</head>
|
35
|
-
<body>
|
36
|
-
|
37
|
-
<div id="wrapper">
|
38
|
-
<h1>Search Field</h1>
|
39
|
-
<ul id="btn">
|
40
|
-
<li data-group="health" name="health" id="health"># Health Care</li>
|
41
|
-
<li data-group="learning" name="learning" id="learning"># Learning / Optimization</li>
|
42
|
-
<li data-group="stim" name="stim" id="stim"># Electrical Stimulation</li>
|
43
|
-
</ul>
|
44
|
-
<ul id="btn">
|
45
|
-
<li data-group="robot" name="robot" id="robot"># Robotics</li>
|
46
|
-
<li data-group="vrar" name="vrar" id="vrar"># VR / AR</li>
|
47
|
-
<li data-group="autonomous" name="autonomous" id="autonomous"># Autonomous Control</li>
|
48
|
-
</ul>
|
49
|
-
<ul id="btn">
|
50
|
-
<li data-group="ah" name="ah" id="ah"># Human Augumentation</li>
|
51
|
-
<li data-group="is" name="is" id="is"># Real Work Space</li>
|
52
|
-
<li data-group="sc" name="sc" id="sc"># Smart Charging</li>
|
53
|
-
</ul>
|
54
|
-
</br>
|
55
|
-
</br>
|
56
|
-
<h1>Our Research</h1>
|
57
|
-
</hr>
|
58
|
-
</br>
|
59
|
-
</br>
|
60
|
-
|
61
|
-
<ul id="animationList" style="position: relative; transition: height 700ms ease-in-out 0s; height: 720px;">
|
62
|
-
<li data-groups="["health","ah","stim","vrar"]" class="filtered" data-x="0" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事A</span></li>
|
63
|
-
<li data-groups="["learning","ah","stim","vrar"]" class="filtered" data-x="240" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">Motionless</span></li>
|
64
|
-
<li data-groups="["is","ah","vrar"]" class="filtered" data-x="480" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(480px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事B</span></li>
|
65
|
-
<li data-groups="["ah","vrar"]" class="filtered" data-x="720" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(720px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事C</span></li>
|
66
|
-
<li data-groups="["learning","health","ah","stim"]" class="filtered" data-x="0" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事D</span></li>
|
67
|
-
<li data-groups="["is","learning","health"]" class="filtered" data-x="240" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事E</span></li>
|
68
|
-
<li data-groups="["robot","is","learning"]" class="filtered" data-x="480" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(480px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事F</span></li>
|
69
|
-
<li data-groups="["sc","autonomous","robot","is"]" class="filtered" data-x="720" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(720px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事G</span></li>
|
70
|
-
<li data-groups="["sc","autonomous","learning"]" class="filtered" data-x="0" data-y="480" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 480px, 0px) scale3d(1, 1, 1);"><span class="grey">記事H</span></li>
|
71
|
-
<li data-groups="["sc","autonomous","is"]" class="filtered" data-x="240" data-y="480" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 480px, 0px) scale3d(1, 1, 1);"><span class="grey">記事I</span></li>
|
72
|
-
</ul>
|
73
|
-
</div>
|
74
|
-
</body></html>
|
75
|
-
|
76
|
-
```
|
77
|
-
|
78
|
-
### CSS
|
79
|
-
```CSS
|
80
|
-
/* html5
|
81
|
-
---------------------------------------------------------------*/
|
82
|
-
article,
|
83
|
-
aside,
|
84
|
-
details,
|
85
|
-
figcaption,
|
86
|
-
figure,
|
87
|
-
footer,
|
88
|
-
header,
|
89
|
-
hgroup,
|
90
|
-
menu,
|
91
|
-
nav,
|
92
|
-
section {
|
93
|
-
display: block;
|
94
|
-
margin: 0;
|
95
|
-
padding: 0;
|
96
|
-
}
|
97
|
-
|
98
|
-
body {
|
99
|
-
background-color: #f6f6f6;
|
100
|
-
}
|
101
|
-
|
102
|
-
#wrapper {
|
103
|
-
width: 1360px;
|
104
|
-
margin: 0 auto;
|
105
|
-
color: #7d7d7d;
|
106
|
-
padding-top: 30px;
|
107
|
-
padding-bottom: 60px;
|
108
|
-
}
|
109
|
-
|
110
|
-
h1 {
|
111
|
-
margin: 50px 0 70px;
|
112
|
-
}
|
113
|
-
|
114
|
-
.alpha {
|
115
|
-
display: inline-block\9;
|
116
|
-
zoom: 1;
|
117
|
-
line-height: 1;
|
118
|
-
}
|
119
|
-
|
120
|
-
.alpha:hover {
|
121
|
-
opacity: 0.9;
|
122
|
-
filter: alpha(opacity=70);
|
123
|
-
}
|
124
|
-
|
125
|
-
.active {
|
126
|
-
background-color: #EEEEEE;
|
127
|
-
color:#ff8c00;
|
128
|
-
}
|
129
|
-
|
130
|
-
#btn {
|
131
|
-
overflow: hidden;
|
132
|
-
margin-top: 50px;
|
133
|
-
margin-bottom: 40px;
|
134
|
-
display: : inline-block;
|
135
|
-
font-size: 22px;
|
136
|
-
cursor: pointer;
|
137
|
-
|
138
|
-
}
|
139
|
-
|
140
|
-
#btn li {
|
141
|
-
float: left;
|
142
|
-
margin: 10px;
|
143
|
-
cursor: pointer;
|
144
|
-
border: solid;
|
145
|
-
border-width: 2px;
|
146
|
-
padding: 10px;
|
147
|
-
box-shadow: 2px 2px 4px #808080;
|
148
|
-
}
|
149
|
-
|
150
|
-
#animationList {
|
151
|
-
overflow: hidden;
|
152
|
-
}
|
153
|
-
|
154
|
-
#animationList li {
|
155
|
-
width: 390px;
|
156
|
-
height: 390px;
|
157
|
-
padding: 10px;
|
158
|
-
float: left;
|
159
|
-
color: #fff;
|
160
|
-
}
|
161
|
-
|
162
|
-
#animationList li span {
|
163
|
-
display: block;
|
164
|
-
width: 360px;
|
165
|
-
height: 340px;
|
166
|
-
padding: 20px;
|
167
|
-
}
|
168
|
-
|
169
|
-
.box_image{
|
170
|
-
height: 220px;
|
171
|
-
overflow-x: hidden;
|
172
|
-
overflow-y: hidden;
|
173
|
-
}
|
174
|
-
|
175
|
-
.red {
|
176
|
-
background-color: #cf0000;
|
177
|
-
}
|
178
|
-
|
179
|
-
.blue {
|
180
|
-
background-color: #0208da;
|
181
|
-
}
|
182
|
-
|
183
|
-
.green {
|
184
|
-
background-color: #2baa08;
|
185
|
-
}
|
186
|
-
|
187
|
-
.yellow {
|
188
|
-
background-color: #e8ec04;
|
189
|
-
}
|
190
|
-
|
191
|
-
.grey{
|
192
|
-
background-color: #555555;
|
193
|
-
}
|
194
|
-
/* Reset
|
195
|
-
------------------------------------------------------------*/
|
196
|
-
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, input, textarea, p, blockquote, th, td {
|
197
|
-
margin: 0;
|
198
|
-
padding: 0;
|
199
|
-
}
|
200
|
-
|
201
|
-
address, em, strong, th {
|
202
|
-
font-style: normal;
|
203
|
-
}
|
204
|
-
|
205
|
-
table {
|
206
|
-
border-collapse: collapse;
|
207
|
-
border-spacing: 0;
|
208
|
-
}
|
209
|
-
|
210
|
-
th {
|
211
|
-
text-align: left;
|
212
|
-
}
|
213
|
-
|
214
|
-
hr, legend {
|
215
|
-
display: none;
|
216
|
-
}
|
217
|
-
|
218
|
-
h1, h2, h3, h4, h5, h6 {
|
219
|
-
font-size: 100%;
|
220
|
-
}
|
221
|
-
|
222
|
-
img {
|
223
|
-
border: 0;
|
224
|
-
vertical-align: middle;
|
225
|
-
}
|
226
|
-
|
227
|
-
li {
|
228
|
-
list-style-type: none;
|
229
|
-
}
|
230
|
-
|
231
|
-
/* Fonts
|
232
|
-
------------------------------------------------------------*/
|
233
|
-
body {
|
234
|
-
font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"MS Pゴシック","MS PGothic",Arial,Helvetica,Verdana,sans-serif;
|
235
|
-
line-height: 1.5;
|
236
|
-
color: #313131;
|
237
|
-
}
|
238
|
-
|
239
|
-
/* clearfix
|
240
|
-
------------------------------------------------------------*/
|
241
|
-
.clearfix:after {
|
242
|
-
content: "";
|
243
|
-
display: block;
|
244
|
-
font-size: 0;
|
245
|
-
visibility: hidden;
|
246
|
-
height: 0;
|
247
|
-
clear: both;
|
248
|
-
}
|
249
|
-
|
250
|
-
/* clearfix for IE7 */
|
251
|
-
.clearfix {
|
252
|
-
display: inline-block;
|
253
|
-
}
|
254
|
-
|
255
|
-
.clearfix {
|
256
|
-
display: block;
|
257
|
-
}
|
258
|
-
|
259
|
-
```
|
260
|
-
|
261
|
-
### 参考サイト
|
262
|
-
元のコードは以下のサイトから引っ張ってきました。
|
263
|
-
[N - log.net](http://www.n--log.net/demo/animation-sort-shuffle.html)
|
1
|
+
None None None None None
|
2
|
+
None None None None None
|
3
|
+
None None None None None
|
2
画像の削除
title
CHANGED
File without changes
|
body
CHANGED
@@ -258,10 +258,6 @@
|
|
258
258
|
|
259
259
|
```
|
260
260
|
|
261
|
-
###実行画面
|
262
|
-
](c9e45a153f00b68af8704588a096ca95.png)
|
263
|
-
|
264
|
-
|
265
261
|
### 参考サイト
|
266
262
|
元のコードは以下のサイトから引っ張ってきました。
|
267
263
|
[N - log.net](http://www.n--log.net/demo/animation-sort-shuffle.html)
|
1
実行画面の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -258,7 +258,10 @@
|
|
258
258
|
|
259
259
|
```
|
260
260
|
|
261
|
+
###実行画面
|
262
|
+
](c9e45a153f00b68af8704588a096ca95.png)
|
261
263
|
|
264
|
+
|
262
265
|
### 参考サイト
|
263
266
|
元のコードは以下のサイトから引っ張ってきました。
|
264
267
|
[N - log.net](http://www.n--log.net/demo/animation-sort-shuffle.html)
|