質問編集履歴

1

htmlの開始からmeta、ファイル読み込み部分などを追記、修正いたしました

2018/07/13 04:55

投稿

se_ariga
se_ariga

スコア11

test CHANGED
File without changes
test CHANGED
@@ -36,17 +36,219 @@
36
36
 
37
37
  ```html
38
38
 
39
+ <!DOCTYPE html>
40
+
41
+ <html lang="ja">
42
+
43
+ <head>
44
+
45
+ <meta charset="UTF-8">
46
+
47
+ <title>タイトル</title>
48
+
49
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge">
50
+
51
+ <meta name="format-detection" content="telephone=no">
52
+
53
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
54
+
55
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
56
+
57
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
58
+
59
+ <link rel="stylesheet" type="text/css" href="css/base.css" />
60
+
61
+ <link rel="stylesheet" type="text/css" href="css/common.css" />
62
+
63
+ <link rel="stylesheet" type="text/css" href="css/top.css" />
64
+
65
+ <link rel="stylesheet" type="text/css" href="dist/css/colorbox.css">
66
+
67
+ <link rel="stylesheet" type="text/css" href="css/jquery.fancybox-1.3.4.css" />
68
+
69
+ <link rel="icon" type="image/png" href="" sizes="16x16" />
70
+
71
+ <script type="text/javascript" src="js/jquery-2.2.4.js"></script>
72
+
73
+ <script type="text/javascript" src="js/function.js"></script>
74
+
75
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
76
+
77
+ <script type="text/javascript" src="js/jquery.fancybox-1.3.4.js"></script>
78
+
79
+ <script type="text/javascript" src="js/jquery.easing-1.3.pack.js"></script>
80
+
81
+ <script type="text/javascript" src="js/jquery.bxSlider.min.top.js"></script>
82
+
83
+ <script type="text/javascript" src="dist/js/jquery.colorbox.js"></script>
84
+
85
+ <script type="text/javascript">
86
+
87
+ jQuery.noConflict();
88
+
89
+ var j$ = jQuery;
90
+
91
+ </script>
92
+
93
+ <!-- videobox -->
94
+
95
+ <script type="text/javascript" src="videobox/js/mootools.js"></script>
96
+
97
+ <script type="text/javascript" src="videobox/js/swfobject.js"></script>
98
+
99
+ <script type="text/javascript" src="videobox/js/videobox.js"></script>
100
+
101
+ <link rel="stylesheet" href="videobox/css/videobox.css" type="text/css" />
102
+
103
+ <script type="text/javascript" src="js/switch.js"></script>
104
+
105
+ <script>
106
+
107
+ j$(document).ready(function(){
108
+
109
+ //Examples of how to assign the Colorbox event to elements
110
+
111
+ j$(".group1").colorbox({rel:'group1'});
112
+
113
+ j$(".group2").colorbox({rel:'group2', transition:"fade"});
114
+
115
+ j$(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"});
116
+
117
+ j$(".group4").colorbox({rel:'group4', slideshow:true});
118
+
119
+ j$(".ajax").colorbox();
120
+
121
+ j$(".youtube").colorbox({iframe:true, innerWidth:640, innerHeight:390});
122
+
123
+ j$(".vimeo").colorbox({iframe:true, innerWidth:500, innerHeight:409});
124
+
125
+ j$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
126
+
127
+ j$(".inline").colorbox({inline:true, width:"50%"});
128
+
129
+ j$(".callbacks").colorbox({
130
+
131
+ onOpen:function(){ alert('onOpen: colorbox is about to open'); },
132
+
133
+ onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
134
+
135
+ onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
136
+
137
+ onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
138
+
139
+ onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
140
+
141
+ });
142
+
143
+
144
+
145
+ j$('.non-retina').colorbox({rel:'group5', transition:'none'})
146
+
147
+ j$('.retina').colorbox({rel:'group5', transition:'none', retinaImage:true, retinaUrl:true});
148
+
149
+
150
+
151
+ //Example of preserving a JavaScript event for inline calls.
152
+
153
+ j$("#click").click(function(){
154
+
155
+ j$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
156
+
157
+ return false;
158
+
159
+ });
160
+
161
+ });
162
+
163
+ </script>
164
+
165
+ </head>
166
+
167
+ <body>
168
+
39
- <span class="conditions">サンプル</span>
169
+ <div id="fb-root"></div>
170
+
40
-
171
+ <script>(function(d, s, id) {
172
+
173
+ var js, fjs = d.getElementsByTagName(s)[0];
174
+
175
+ if (d.getElementById(id)) return;
176
+
177
+ js = d.createElement(s); js.id = id;
178
+
179
+ js.src = "//connect.facebook.net/ja_JP/all.js#xfbml=1";
180
+
181
+ fjs.parentNode.insertBefore(js, fjs);
182
+
183
+ }(document, 'script', 'facebook-jssdk'));</script>
184
+
185
+
186
+
187
+ <div id="wrapper">
188
+
189
+ <header>
190
+
191
+ <div class="header-in width1020" id="head_pc">
192
+
193
+ <p class="head_sales"><img src="img/top/head_sales.png" width="625" height="80" alt="累計販売台数 2000台突破!" /></p>
194
+
195
+ <p class="head_contact">
196
+
197
+ <a href="https://fc.canonet.ne.jp/www.toyotomi.jp/secure/pellet/contact.php">
198
+
199
+ ペレットストーブ専用コール 0120-938-178 受付け時間:午前9時~午後5時(土曜・日曜・祝日は除く)
200
+
201
+ </a>
202
+
203
+ </p>
204
+
205
+ </div>
206
+
207
+
208
+
209
+ <div class="header-menu width1019">
210
+
211
+ <a class="menu-trigger">
212
+
213
+ <span></span>
214
+
215
+ <span></span>
216
+
217
+ <span></span>
218
+
219
+ </a>
220
+
221
+ </div>
222
+
223
+ <nav class="header-in width1019">
224
+
41
- <ul>
225
+ <ul>
226
+
42
-
227
+ <li><a href="">TOP<span>トップ</span></a></li>
228
+
229
+ <li><a href="">BUSINESS<span>事業内容</span></a></li>
230
+
231
+ <li>
232
+
233
+ <span class="conditions">COMPANY<span>会社情報</span></span>
234
+
235
+ <ul>
236
+
43
- <li><a href="#">あああ</a></li>
237
+ <li><a href="#">あああ</a></li>
44
-
238
+
45
- <li><a href="#">いいい</a></li>
239
+ <li><a href="#">あああ</a></li>
46
-
240
+
47
- <li><a href="#">ううう</a></li>
241
+ <li><a href="#">あああ</a></li>
48
-
242
+
49
- </ul>
243
+ </ul>
244
+
245
+ </li>
246
+
247
+ </ul>
248
+
249
+ </nav>
250
+
251
+ </header>
50
252
 
51
253
  ```
52
254