質問編集履歴
2
変数を入れ忘れていました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
```
|
19
19
|
|
20
20
|
```jQuery
|
21
|
+
var activeurl = location.pathname.split('/')[1];
|
21
22
|
$(document).ready(function() {
|
22
23
|
$('nav li a').each(function(){
|
23
24
|
var array = $(this).attr('href').replace('/' , '');
|
1
HTMLとcssの知識が必要なためタグを追加しました。
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|