質問編集履歴
5
表記の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
```HTML
|
11
|
+
```HTML
|
12
12
|
|
13
13
|
<header class="sticky-top">
|
14
14
|
|
4
文章の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
### bootstrap4で作成したナビバーにページ内リンクを実装したい
|
2
2
|
|
3
|
-
ページ内リンクを作成したいです。
|
3
|
+
ページ内リンクを作成したいのですが、動作しません。
|
4
4
|
|
5
5
|
リンク先にはIDで指定してあります。
|
6
6
|
|
3
表記の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
### bootstrap4で作成したナビバーにペ
|
1
|
+
### bootstrap4で作成したナビバーにページ内リンクを実装したい
|
2
2
|
|
3
3
|
ページ内リンクを作成したいです。
|
4
4
|
|
2
入力ミスがありました
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
```HM
|
11
|
+
```HTML5
|
12
12
|
|
13
13
|
<header class="sticky-top">
|
14
14
|
|
1
リンク先のコードを入れました!
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
### bootstrap4で作成したナビバーにペイジ内リンクを実装したい
|
2
2
|
|
3
|
-
飛ばす先にはそれぞれ id="aaa" としています。
|
4
|
-
|
5
|
-
|
3
|
+
ページ内リンクを作成したいです。
|
4
|
+
|
5
|
+
リンク先にはIDで指定してあります。
|
6
6
|
|
7
7
|
### 該当のソースコード
|
8
8
|
|
@@ -69,3 +69,171 @@
|
|
69
69
|
</header>
|
70
70
|
|
71
71
|
```
|
72
|
+
|
73
|
+
###リンク先
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
<main>
|
78
|
+
|
79
|
+
<!-- fv section -->
|
80
|
+
|
81
|
+
<div id="fv">
|
82
|
+
|
83
|
+
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
|
84
|
+
|
85
|
+
<ol class="carousel-indicators">
|
86
|
+
|
87
|
+
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
|
88
|
+
|
89
|
+
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
|
90
|
+
|
91
|
+
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
|
92
|
+
|
93
|
+
</ol>
|
94
|
+
|
95
|
+
<div class="carousel-inner">
|
96
|
+
|
97
|
+
<div class="carousel-item active">
|
98
|
+
|
99
|
+
<img src="img/Wallions278822.jpg" class="d-block w-100" >
|
100
|
+
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div class="carousel-item">
|
104
|
+
|
105
|
+
<img src="img/Wallions281325.jpg" class="d-block w-100" >
|
106
|
+
|
107
|
+
</div>
|
108
|
+
|
109
|
+
<div class="carousel-item">
|
110
|
+
|
111
|
+
<img src="img/Wallions282373.jpg" class="d-block w-100" >
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
</div>
|
116
|
+
|
117
|
+
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
|
118
|
+
|
119
|
+
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
120
|
+
|
121
|
+
<span class="sr-only">Previous</span>
|
122
|
+
|
123
|
+
</a>
|
124
|
+
|
125
|
+
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
|
126
|
+
|
127
|
+
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
128
|
+
|
129
|
+
<span class="sr-only">Next</span>
|
130
|
+
|
131
|
+
</a>
|
132
|
+
|
133
|
+
</div></div>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
<!-- time section -->
|
138
|
+
|
139
|
+
<div id="time">
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
<div class="container text-center">
|
144
|
+
|
145
|
+
<h1>営業時間</h1>
|
146
|
+
|
147
|
+
<div class="time-box">
|
148
|
+
|
149
|
+
<p class="">月〜木 15:00〜22:00</p>
|
150
|
+
|
151
|
+
<p class="">金〜日 15:00〜24:00</p>
|
152
|
+
|
153
|
+
<p class="restday">毎週水曜休み</p>
|
154
|
+
|
155
|
+
</div>
|
156
|
+
|
157
|
+
<a href="tel:000-0000-0000">TEL 000-0000-0000</a>
|
158
|
+
|
159
|
+
</div>
|
160
|
+
|
161
|
+
</div>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
<!-- menu section -->
|
166
|
+
|
167
|
+
<div id="menu">
|
168
|
+
|
169
|
+
<div class="container menu-inner">
|
170
|
+
|
171
|
+
<h6>MENU</h6>
|
172
|
+
|
173
|
+
<hr color="white">
|
174
|
+
|
175
|
+
<div class="menu-box">
|
176
|
+
|
177
|
+
<p>ビール<span class="plice">500円</span></p>
|
178
|
+
|
179
|
+
<p>ワイン<span class="plice">500円</span></p>
|
180
|
+
|
181
|
+
<p>ウイスキー<span class="plice">500円</span></p>
|
182
|
+
|
183
|
+
<p>ジン<span class="plice">500円</span></p>
|
184
|
+
|
185
|
+
<p>ウォッカ<span class="plice">500円</span></p>
|
186
|
+
|
187
|
+
<button type="button" class="btn btn-info"><a class="btntext" href="#">他のメニューを見る</a></button>
|
188
|
+
|
189
|
+
</div>
|
190
|
+
|
191
|
+
<hr color="white">
|
192
|
+
|
193
|
+
</div>
|
194
|
+
|
195
|
+
</div>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
<!-- acsess section -->
|
200
|
+
|
201
|
+
<div id="acsess" class="acsess container">
|
202
|
+
|
203
|
+
<div class="row">
|
204
|
+
|
205
|
+
<div class="col-sm-12 col-md-6">
|
206
|
+
|
207
|
+
<h4>アクセス</h4>
|
208
|
+
|
209
|
+
<p>竹ノ塚駅から徒歩5分</p>
|
210
|
+
|
211
|
+
</div>
|
212
|
+
|
213
|
+
<div class="col-sm-12 col-md-6 mt-2 mb-2">
|
214
|
+
|
215
|
+
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3236.2876814892106!2d139.78830725065495!3d35.7928702313516!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x601891968926e979%3A0x87f1c7ccb5afd97f!2z44CSMTIxLTA4MTMg5p2x5Lqs6YO96Laz56uL5Yy656u544Gu5aGa77yR5LiB55uu77yS77yYIO-8oe-8qu-8qe-8tO-8rw!5e0!3m2!1sja!2sjp!4v1549977072629" width="100%" height="300" frameborder="0" style="border:0" allowfullscreen></iframe>
|
216
|
+
|
217
|
+
</div>
|
218
|
+
|
219
|
+
</div>
|
220
|
+
|
221
|
+
</div>
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
</main>
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
<!-- footer section -->
|
230
|
+
|
231
|
+
<footer class="bg-info" id="contact">
|
232
|
+
|
233
|
+
<h4 class="">お問い合わせ</h4>
|
234
|
+
|
235
|
+
<a href="tel:000-0000-0000" class="">000-0000-0000</a>
|
236
|
+
|
237
|
+
</footer>
|
238
|
+
|
239
|
+
```
|