"Bootstrap 4 Admin Menu"
Bootstrap 4.0.0 Snippet by errorteam10

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="side_nav" > <button class="btn btn-primary" id="side_nav">Side Nav</button> </div> <div class="d-flex flex-row flex-wrap"> <div class="col-md-3"> <div class="card card-fix"> <div class="card-body"> </div> </div> </div> <div class="col-md-9"> <div class="card card-fix"> <div class="card-body"> </div> </div> </div> </div> <script> class side_nav { constructor() { $anchor = $('#side_nav'); this.start(); } start(){ $anchor.click(this, function(e){ alert("Anchor Clicked"); }); } } window.side_nav = new side_nav(); </script>
.card-fix { height: 100%; }
class side_nav { constructor() { $anchor = $('#side_nav'); this.start(); } start(){ $anchor.click(this, function(e){ alert("Anchor Clicked"); }); } }

Related: See More


Questions / Comments: