"Simple Vertical Tab"
Bootstrap 3.1.0 Snippet by xrozix

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" > <div class="container"> <div class="row"> <div class="col-lg-12 bhoechie-tab-container"> <div class="col-lg-3 bhoechie-tab-menu"> <div class="list-group bg-color-primary"> <a href="#" class="list-group-item active bg-primary text-center"> <i class="fa fa-sliders fa-3x "></i><br/>Settings </a> <a href="#" class="list-group-item text-center"> <i class="fa fa-print fa-3x "></i><br/>Settings Train </a> <div class="list-group-item inactive" style="height:200px;"> </div> </div> </div> <div class="col-lg-9 bhoechie-tab"> <!-- flight section --> <div class="bhoechie-tab-content fade in active"> <center> <h1 class="glyphicon glyphicon-road" style="font-size:12em;color:#55518a"></h1> <h2 style="margin-top: 0;color:#55518a">Cooming Soon</h2> <h3 style="margin-top: 0;color:#55518a">Flight Reservation</h3> </center> </div> <!-- train section --> <div class="bhoechie-tab-content fade"> <center> <h1 class="glyphicon glyphicon-road" style="font-size:12em;color:#55518a"></h1> <h2 style="margin-top: 0;color:#55518a">Cooming Soon</h2> <h3 style="margin-top: 0;color:#55518a">Train Reservation</h3> </center> </div> </div> </div> </div> </div>
a, a:active, a:focus, a:hover, a.btn, a.btn:active, a.btn:focus, a.btn:hover, button.btn, button.btn:active, button.btn:focus, button.btn:hover, .dropdown-menu li a, .dropdown-menu li a:active, .dropdown-menu li a:focus, .dropdown-menu li a:hover, .nav-pills li a, .nav-pills li a:active, .nav-pills li a:focus, .nav-pills li a:hover, .nav-tabs li a, .nav-tabs li a:active, .nav-tabs li a:focus, .nav-tabs li a:hover ul.nav-tabs li a, ul.nav-tabs li a.active, ul.nav-tabs li a.focus { outline:0px !important; -webkit-appearance:none; text-decoration:none;} /* bhoechie tab */ div.bhoechie-tab-container { z-index: 10; background-color: #ffffff; padding: 0 !important; border-radius: 4px; -moz-border-radius: 4px; border:1px solid #ddd; margin-top: 20px; margin-left: 50px; -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175); box-shadow: 0 6px 12px rgba(0,0,0,.175); -moz-box-shadow: 0 6px 12px rgba(0,0,0,.175); background-clip: padding-box; opacity: 0.97; filter: alpha(opacity=97); } div.bhoechie-tab-menu { padding-right: 0; padding-left: 0; padding-bottom: 0; } div.bhoechie-tab-menu div.list-group{ margin-bottom: 0; } div.bhoechie-tab-menu div.list-group>a{ margin-bottom: 0; } div.bhoechie-tab-menu div.list-group>a .glyphicon, div.bhoechie-tab-menu div.list-group>a .fa { color: #5A55A3; } div.bhoechie-tab-menu div.list-group>a:first-child { border-top-right-radius: 0; -moz-border-top-right-radius: 0; } div.bhoechie-tab-menu div.list-group>a:last-child { border-bottom-right-radius: 0; -moz-border-bottom-right-radius: 0; } div.bhoechie-tab-menu div.list-group>a.active, div.bhoechie-tab-menu div.list-group>a.active .glyphicon, div.bhoechie-tab-menu div.list-group>a.active .fa { background-color: #5A55A3; background-image: #5A55A3; color: #ffffff; } div.bhoechie-tab-menu div.list-group>a.active:after { content: ''; position: absolute; left: 100%; top: 0%; margin-top: -1px; border-right: 0px; border-top: 38px inset transparent; border-bottom: 46px inset transparent; border-left: 46px solid #5A55A3; } div.bhoechie-tab-content { background-color: #ffffff; /* border: 1px solid #eeeeee; */ padding-left: 20px; padding-top: 10px; } div.bhoechie-tab div.bhoechie-tab-content:not(.active) { display: none; } div.list-group a.list-group-item.inactive.active, div.list-group a.list-group-item.inactive { background-color: #ffffff; }
$(document).ready(function() { $("div.bhoechie-tab-menu>div.list-group>a").click(function(e) { e.preventDefault(); $(this).siblings('a.active').removeClass("active"); $(this).addClass("active"); var index = $(this).index(); $("div.bhoechie-tab>div.bhoechie-tab-content").removeClass("active"); $("div.bhoechie-tab>div.bhoechie-tab-content").eq(index).addClass("active"); }); });

Related: See More


Questions / Comments: