2024-04-14 17:35:27 +00:00
|
|
|
<div class="chuni-header">
|
|
|
|
<h1>Chunithm</h1>
|
|
|
|
<ul class="chuni-navi">
|
|
|
|
<li><a class="nav-link" href="/game/chuni">PROFILE</a></li>
|
|
|
|
<li><a class="nav-link" href="/game/chuni/rating">RATING</a></li>
|
|
|
|
<li><a class="nav-link" href="/game/chuni/playlog">RECORD</a></li>
|
2024-09-16 01:20:45 +00:00
|
|
|
<li><a class="nav-link" href="/game/chuni/favorites">FAVORITES</a></li>
|
2024-04-14 17:35:27 +00:00
|
|
|
<li><a class="nav-link" href="/game/chuni/musics">MUSICS</a></li>
|
|
|
|
<li><a class="nav-link" href="/game/chuni/userbox">USER BOX</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
$(document).ready(function () {
|
|
|
|
var currentPath = window.location.pathname;
|
|
|
|
if (currentPath === '/game/chuni/') {
|
|
|
|
$('.nav-link[href="/game/chuni"]').addClass('active');
|
|
|
|
} else if (currentPath.startsWith('/game/chuni/playlog')) {
|
|
|
|
$('.nav-link[href="/game/chuni/playlog"]').addClass('active');
|
|
|
|
} else if (currentPath.startsWith('/game/chuni/rating')) {
|
|
|
|
$('.nav-link[href="/game/chuni/rating"]').addClass('active');
|
2024-09-16 01:20:45 +00:00
|
|
|
} else if (currentPath.startsWith('/game/chuni/favorites')) {
|
|
|
|
$('.nav-link[href="/game/chuni/favorites"]').addClass('active');
|
2024-04-14 17:35:27 +00:00
|
|
|
} else if (currentPath.startsWith('/game/chuni/musics')) {
|
|
|
|
$('.nav-link[href="/game/chuni/musics"]').addClass('active');
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|