質問編集履歴

1

ソースコードを修正しました!

2017/01/11 18:33

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -4,18 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- else if (window.matchMedia('screen and (min-width:1023px)').matches)
8
-
9
-
10
-
11
- ご教授いただけすでょうか
7
+ ソースコードを修正しまし
12
-
13
-
14
8
 
15
9
 
16
10
 
17
11
  ```ここに言語を入力
18
12
 
13
+
14
+
19
15
  if (window.matchMedia('screen and (max-width:767px)').matches) {
20
16
 
21
17
 
@@ -44,6 +40,36 @@
44
40
 
45
41
  $('#faq-ttl-tab2-5').prependTo('#faq-cont-tab2-5');
46
42
 
43
+ $('#faq-ttl-tab2-6').prependTo('#faq-cont-tab2-6');
44
+
45
+ $('#faq-ttl-tab2-7').prependTo('#faq-cont-tab2-7');
46
+
47
+ $('#faq-ttl-tab2-8').prependTo('#faq-cont-tab2-8');
48
+
49
+ $('#faq-ttl-tab2-9').prependTo('#faq-cont-tab2-9');
50
+
51
+ $('#faq-ttl-tab2-10').prependTo('#faq-cont-tab2-10');
52
+
53
+ $('#faq-ttl-tab2-11').prependTo('#faq-cont-tab2-11');
54
+
55
+ $('#faq-ttl-tab2-12').prependTo('#faq-cont-tab2-12');
56
+
57
+ $('#faq-ttl-tab2-13').prependTo('#faq-cont-tab2-13');
58
+
59
+ $('#faq-ttl-tab2-14').prependTo('#faq-cont-tab2-14');
60
+
61
+ $('#faq-ttl-tab2-15').prependTo('#faq-cont-tab2-15');
62
+
63
+ $('#faq-ttl-tab2-16').prependTo('#faq-cont-tab2-16');
64
+
65
+ $('#faq-ttl-tab2-17').prependTo('#faq-cont-tab2-17');
66
+
67
+ $('#faq-ttl-tab2-18').prependTo('#faq-cont-tab2-18');
68
+
69
+ $('#faq-ttl-tab2-19').prependTo('#faq-cont-tab2-19');
70
+
71
+ $('#faq-ttl-tab2-20').prependTo('#faq-cont-tab2-20');
72
+
47
73
 
48
74
 
49
75
  $('#faq-ttl-tab3-1').prependTo('#faq-cont-tab3-1');
@@ -58,10 +84,10 @@
58
84
 
59
85
  $('#faq-ttl-tab3-6').prependTo('#faq-cont-tab3-6');
60
86
 
61
-
62
-
63
87
  $('#faq-ttl-tab4-1').prependTo('#faq-cont-tab4-1');
64
88
 
89
+
90
+
65
91
  $('#faq-ttl-tab4-2').prependTo('#faq-cont-tab4-2');
66
92
 
67
93
  $('#faq-ttl-tab4-3').prependTo('#faq-cont-tab4-3');
@@ -110,6 +136,16 @@
110
136
 
111
137
 
112
138
 
139
+ $('#mamexshops-ttl-tab7-1').prependTo('#mamexshops-cont-tab7-1');
140
+
141
+
142
+
143
+ $('#mamexshops-ttl-tab8-1').prependTo('#mamexshops-cont-tab8-1');
144
+
145
+
146
+
147
+ $('#mamexshops-ttl-tab9-1').prependTo('#mamexshops-cont-tab9-1');
148
+
113
149
 
114
150
 
115
151
 
@@ -142,7 +178,7 @@
142
178
 
143
179
 
144
180
 
145
- } else if (window.matchMedia('screen and (min-width:1023px)').matches) {
181
+ } else if (window.matchMedia('screen and (min-width:768px)').matches) {
146
182
 
147
183
 
148
184
 
@@ -188,10 +224,64 @@
188
224
 
189
225
  } else {
190
226
 
191
-
227
+
192
228
 
193
229
  }
194
230
 
195
-
196
-
197
231
  ```
232
+
233
+
234
+
235
+ ```ここに言語を入力
236
+
237
+
238
+
239
+ if (!navigator.userAgent.match(/(iPhone|Android|iPad)/)) {
240
+
241
+
242
+
243
+ var i = 0;
244
+
245
+ function checkWidth() {
246
+
247
+ var windowsize = $(window).width();
248
+
249
+
250
+
251
+ if (windowsize > 768 && i==0){
252
+
253
+ i = 1;
254
+
255
+ }
256
+
257
+ else if (windowsize <= 768 && i==1) {
258
+
259
+ location.reload();
260
+
261
+ i = 0;
262
+
263
+ }
264
+
265
+ }
266
+
267
+ // Execute on load
268
+
269
+ checkWidth();
270
+
271
+ // Bind event listener
272
+
273
+ $(window).resize(checkWidth);
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+ }
286
+
287
+ ```