質問編集履歴

1

htmlの表記。code機能の利用。

2019/12/18 01:52

投稿

hana0203
hana0203

スコア7

test CHANGED
File without changes
test CHANGED
@@ -1,23 +1,365 @@
1
+ ```html
2
+
3
+ <!DOCTYPE html>
4
+
5
+ <html lang="ja">
6
+
7
+ <head>
8
+
9
+ <meta charset="UTF-8">
10
+
11
+ <title>サンプル</title>
12
+
13
+ <link rel="stylesheet" type="text/css" href="scroll_sample2.css">
14
+
15
+ </head>
16
+
17
+
18
+
19
+ <body>
20
+
21
+ <p>aaa</p>
22
+
23
+ <p>aaa</p>
24
+
25
+ <p>aaa</p>
26
+
27
+ <p>aaa</p>
28
+
29
+ <p>aaa</p>
30
+
31
+ <p>aaa</p>
32
+
33
+ <p>aaa</p>
34
+
35
+ <p>aaa</p>
36
+
37
+ <p>aaa</p>
38
+
39
+ <p>aaa</p>
40
+
41
+ <p>aaa</p>
42
+
43
+ <p>aaa</p>
44
+
45
+ <p>aaa</p>
46
+
47
+ <p>aaa</p>
48
+
49
+ <p>aaa</p>
50
+
51
+ <p>aaa</p>
52
+
53
+ <p>aaa</p>
54
+
55
+ <p>aaa</p>
56
+
57
+ <p>aaa</p>
58
+
59
+ <p>aaa</p>
60
+
61
+ <p>aaa</p>
62
+
63
+ <p>aaa</p>
64
+
65
+ <p>aaa</p>
66
+
67
+ <p>aaa</p>
68
+
69
+ <p>aaa</p>
70
+
71
+ <p>aaa</p>
72
+
73
+ <p>aaa</p>
74
+
75
+ <p>aaa</p>
76
+
77
+ <p>aaa</p>
78
+
79
+ <p>aaa</p>
80
+
81
+ <p>aaa</p>
82
+
83
+ <p>aaa</p>
84
+
85
+ <p>aaa</p>
86
+
87
+ <p>aaa</p>
88
+
89
+ <p>aaa</p>
90
+
91
+ <p>aaa</p>
92
+
93
+ <p>aaa</p>
94
+
95
+ <p>aaa</p>
96
+
97
+ <p>aaa</p>
98
+
99
+ <p>aaa</p>
100
+
101
+ <p>aaa</p>
102
+
103
+ <p>aaa</p>
104
+
105
+ <p>aaa</p>
106
+
107
+ <p>aaa</p>
108
+
109
+ <p>aaa</p>
110
+
111
+ <p>aaa</p>
112
+
113
+ <p>aaa</p>
114
+
115
+ <p>aaa</p>
116
+
117
+ <p>aaa</p>
118
+
119
+ <p>aaa</p>
120
+
121
+ <p>aaa</p>
122
+
123
+ <p>aaa</p>
124
+
125
+ <p>aaa</p>
126
+
127
+ <p>aaa</p>
128
+
129
+ <p>aaa</p>
130
+
131
+ <p>aaa</p>
132
+
133
+ <p>aaa</p>
134
+
135
+ <p>aaa</p>
136
+
137
+ <p>aaa</p>
138
+
139
+ <p>aaa</p>
140
+
141
+ <p>aaa</p>
142
+
143
+ <p>aaa</p>
144
+
145
+ <p>aaa</p>
146
+
147
+ <p>aaa</p>
148
+
149
+ <p>aaa</p>
150
+
151
+ <p>aaa</p>
152
+
153
+ <p>aaa</p>
154
+
155
+ <p>aaa</p>
156
+
157
+ <p>aaa</p>
158
+
159
+ <p>aaa</p>
160
+
161
+ <p>aaa</p>
162
+
163
+ <p>aaa</p>
164
+
165
+ <p>aaa</p>
166
+
167
+ <p>aaa</p>
168
+
169
+ <p>aaa</p>
170
+
171
+ <p>aaa</p>
172
+
173
+ <p>aaa</p>
174
+
175
+ <p>aaa</p>
176
+
177
+ <p>aaa</p>
178
+
179
+ <p>aaa</p>
180
+
181
+ <p>aaa</p>
182
+
183
+ <p>aaa</p>
184
+
185
+ <p>aaa</p>
186
+
187
+ <p>aaa</p>
188
+
189
+ <p>aaa</p>
190
+
191
+ <p>aaa</p>
192
+
193
+ <p>aaa</p>
194
+
195
+ <p>aaa</p>
196
+
197
+ <p>aaa</p>
198
+
199
+ <p>aaa</p>
200
+
201
+ <p>aaa</p>
202
+
203
+ <p>aaa</p>
204
+
205
+ <p>aaa</p>
206
+
207
+ <p>aaa</p>
208
+
209
+ <p>aaa</p>
210
+
211
+ <p>aaa</p>
212
+
213
+ <p>aaa</p>
214
+
215
+ <p>aaa</p>
216
+
217
+ <p>aaa</p>
218
+
219
+ <p>aaa</p>
220
+
221
+ <p>aaa</p>
222
+
223
+ <p>aaa</p>
224
+
225
+ <p>aaa</p>
226
+
227
+ <p>aaa</p>
228
+
229
+ <p>aaa</p>
230
+
231
+ <p>aaa</p>
232
+
233
+ <p>aaa</p>
234
+
235
+ <p>aaa</p>
236
+
237
+ <p>aaa</p>
238
+
239
+ <p>aaa</p>
240
+
241
+ <p>aaa</p>
242
+
243
+ <p>aaa</p>
244
+
245
+ <p>aaa</p>
246
+
247
+ <p>aaa</p>
248
+
249
+ <p>aaa</p>
250
+
251
+ <p>aaa</p>
252
+
253
+ <p>aaa</p>
254
+
255
+ <p>aaa</p>
256
+
257
+ <p>aaa</p>
258
+
259
+ <p>aaa</p>
260
+
261
+ <p>aaa</p>
262
+
263
+ <p>aaa</p>
264
+
265
+ <p>aaa</p>
266
+
267
+ <p>aaa</p>
268
+
269
+ <p>aaa</p>
270
+
271
+ <p>aaa</p>
272
+
273
+ <p>aaa</p>
274
+
275
+ <p>aaa</p>
276
+
277
+ <p>aaa</p>
278
+
279
+ <p>aaa</p>
280
+
281
+ <p>aaa</p>
282
+
283
+ <p>aaa</p>
284
+
285
+ <p>aaa</p>
286
+
287
+ <p>aaa</p>
288
+
289
+ <p>aaa</p>
290
+
291
+ <p>aaa</p>
292
+
293
+ <p>aaa</p>
294
+
295
+ <p>aaa</p>
296
+
297
+ <p>aaa</p>
298
+
299
+ <p>aaa</p>
300
+
301
+ <p>aaa</p>
302
+
303
+ <p>aaa</p>
304
+
305
+ <p>aaa</p>
306
+
307
+ <p>aaa</p>
308
+
309
+ <p>aaa</p>
310
+
311
+ <p>aaa</p>
312
+
313
+ <p>aaa</p>
314
+
315
+ <p>aaa</p>
316
+
317
+ <p>aaa</p>
318
+
319
+ <p>aaa</p>
320
+
321
+ <div id="outside" class="outside">
322
+
323
+ <p><a id="inside" class="inside">ページの先頭に戻る</a></p>
324
+
325
+ </div>
326
+
327
+ <script src="scroll_sample2.js"></script>
328
+
329
+ </body>
330
+
331
+ </html>
332
+
333
+ ```
334
+
335
+
336
+
337
+
338
+
339
+ ```javascript
340
+
341
+ $( document ).ready( function()
342
+
343
+ {
344
+
345
+ $('#inside').click( function()
346
+
347
+ {
348
+
349
+ $('html,body').animate({scrollTop:0},'slow');
350
+
351
+ });
352
+
353
+ });
354
+
355
+
356
+
357
+ ```
358
+
1
359
  エラーの解決方法を教えてください。
2
360
 
3
361
 
4
362
 
5
- $( document ).ready( function()
6
-
7
- {
8
-
9
- $('#inside').click( function()
10
-
11
- {
12
-
13
- $('html,body').animate({scrollTop:0},'slow');
14
-
15
- });
16
-
17
- });
18
-
19
-
20
-
21
363
  エラーとして、
22
364
 
23
365
   行:1