"Simple Vertical Tab"
Bootstrap 3.1.0 Snippet by p_Zarr

<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 ----------> <div class="container"> <div class="row"> <div class="col-lg-5 col-md-5 col-sm-8 col-xs-9 bhoechie-tab-container"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 bhoechie-tab-menu"> <div class="list-group"> <a href="#" class="list-group-item active text-center"> <h4 class="glyphicon glyphicon-play"></h4><br/>Escuchar </a> <a href="#" class="list-group-item text-center"> <h4 class="glyphicon glyphicon-cloud"></h4><br/>Mixcloud </a> <a href="#" class="list-group-item text-center"> <h4 class="glyphicon glyphicon-thumbs-up"></h4><br/>Facebook </a> <a href="#" class="list-group-item text-center"> <h4 class="glyphicon glyphicon-info-sign"></h4><br/>Info </a> <a href="#" class="list-group-item text-center"> <h4 class="glyphicon glyphicon-envelope"></h4><br/>Contacto </a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9 bhoechie-tab"> <!-- reproductor --> <div class="bhoechie-tab-content active"> <center> <iframe src="//www.mixcloud.com/widget/iframe/?feed=http%3A%2F%2Fwww.mixcloud.com%2FlaVariopinta%2F&embed_uuid=96cf4451-4d45-4827-95ba-c74aeddacc1d&replace=0&hide_cover=1&light=1&embed_type=widget_standard" height="360" width="260" frameborder="0"></iframe><div style="clear: both; height: 3px; width: 352px;"></div></div> </center> </div> <!-- badge de mixcloud --> <div class="bhoechie-tab-content"> <center> <iframe src="//www.mixcloud.com/widget/follow/?u=http%3A%2F%2Fwww.mixcloud.com%2FlaVariopinta%2F" height="250" width="200" frameborder="0"></iframe> </center> </div> <!-- facebook --> <div class="bhoechie-tab-content"> <center> <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Flavariopintaradiocenba&width=260&height=258&colorscheme=light&show_faces=true&header=false&stream=false&show_border=false&appId=349977331806520" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:260px; height:258px;" allowTransparency="true"></iframe> </center> </div> <!--info, boludeces --> <div class="bhoechie-tab-content"> <center> La radio... </center> </div> <!-- contacto --> <div class="bhoechie-tab-content"> <center> Buscanos en <a href="https://www.facebook.com/lavariopintaradiocenba" target=_blank alt="Variopinta en FB">Facebook</a>, es lo más fácil para todos. </center> </div> </div> </div> </div> </div>
/* 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: 50%; margin-top: -13px; border-left: 0; border-bottom: 13px solid transparent; border-top: 13px solid transparent; border-left: 10px 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; }
$(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: