6502bench/docs/incl-topnav.html

21 lines
743 B
HTML

<div id="topnav">
<!-- top navigation bar contents -->
<nav>
<a id="topnav-home" href="${ROOT}/./">HOME</a>
<a id="topnav-sgtutorial" href="${ROOT}/sgtutorial">SourceGen Tutorial</a>
<a id="topnav-menuicon" href="javascript:void(0);" class="icon" onclick="toggleSidenav()">
<i class="fa fa-bars"></i>
</a>
</nav>
<script>
// Sidenav toggle function.
//
// Use a jQuery function to toggle the sidenav bar. The initial state
// is undefined / inherited, so it will pop in and out as the screen
// resizes around the "large" breakpoint.
function toggleSidenav() {
$("#sidenav").toggle("fast");
}
</script>
</div>