"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 ----------> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-8"> <h1 style="margin-left: 30px;">Select the Age of your System:</h1> </div> </div> <div class="row"> <div class="col-lg-8 col-md-8 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>1-2 Years</h4> </a> <a href="#" class="list-group-item text-center"> <h4>2-5 Years</h4> </a> <a href="#" class="list-group-item text-center"> <h4>5-8 Years</h4> </a> <a href="#" class="list-group-item text-center"> <h4>8-10 Years</h4> </a> <a href="#" class="list-group-item text-center"> <h4>10+ Years</h4> </a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9 bhoechie-tab"> <!-- flight section --> <div class="bhoechie-tab-content active"> <center> <h1 class="glyphicon glyphicon-wrench" style="font-size:10em;color:#55518a"></h1> <h2 style="margin-top: 0;color:#55518a">Age:<br/>1-2 Years</h2> <div class="divider"></div> <p>We recommend our...</p> <h3 style="margin-top: 0;color:#55518a">Utility 16-point<br/>Maintenance Plan</h3> <div class="divider"></div> <p>This plan includes the following...</p> <h4>Thermostat</h4> <ul> <li>Item Checked 1</li> <li>Item Checked 2</li> <li>Item Checked 3</li> <li>...</li> </ul> <div class="divider"></div> <p>All our plans are backed by our...</p> <a href="#"><h3>No Breakdown Guarantee</h3></a> <a href="#"><h3>100% Satisfaction Guarantee</h3></a> <div class="divider"></div> <p>Additional benefits to enrolling...</p> <ul> <li>10% off repairs</li> <li>Pre-season scheduling reminders</li> <li>No diagnostic fee</li> <li>...</li> </ul> <div class="divider"></div> <p>Selecting this plan saves you approx...</p> <h3 class="savings"><strong>$500</strong> per year</h3> <p>For an investment of only...</p> <h3><strong>$100</strong> per year</h3> </center> </div> <!-- train section --> <div class="bhoechie-tab-content"> <center> <h1 class="glyphicon glyphicon-wrench" style="font-size:10em;color:#55518a"></h1> <h2 style="margin-top: 0;color:#55518a">Age:<br/>2-5 Years</h2> <div class="divider"></div> <p>We recommend our...</p> <h3 style="margin-top: 0;color:#55518a">Standard 44-point<br/>Maintenance Plan</h3> <div class="divider"></div> <p>This plan includes the following...</p> <h4>Thermostat</h4> <ul> <li>Item Checked 1</li> <li>Item Checked 2</li> <li>Item Checked 3</li> <li>...</li> </ul> <div class="divider"></div> <p>All our plans are backed by our...</p> <a href="#"><h3>No Breakdown Guarantee</h3></a> <a href="#"><h3>100% Satisfaction Guarantee</h3></a> <div class="divider"></div> <p>Additional benefits to enrolling...</p> <ul> <li>10% off repairs</li> <li>Pre-season scheduling reminders</li> <li>No diagnostic fee</li> <li>...</li> </ul> <div class="divider"></div> <p>Selecting this plan saves you approx...</p> <h3 class="savings"><strong>$500</strong> per year</h3> <p>For an investment of only...</p> <h3><strong>$100</strong> per year</h3> </center> </div> <!-- hotel search --> <div class="bhoechie-tab-content"> <center> <h1 class="glyphicon glyphicon-wrench" style="font-size:10em;color:#55518a"></h1> <h2 style="margin-top: 0;color:#55518a">Age:<br/>5-8 Years</h2> <div class="divider"></div> <p>We recommend our...</p> <h3 style="margin-top: 0;color:#55518a">Deluxe 75-point<br/>Maintenance Plan</h3> <div class="divider"></div> <p>This plan includes the following...</p> <h4>Thermostat</h4> <ul> <li>Item Checked 1</li> <li>Item Checked 2</li> <li>Item Checked 3</li> <li>...</li> </ul> <div class="divider"></div> <p>All our plans are backed by our...</p> <a href="#"><h3>No Breakdown Guarantee</h3></a> <a href="#"><h3>100% Satisfaction Guarantee</h3></a> <div class="divider"></div> <p>Additional benefits to enrolling...</p> <ul> <li>10% off repairs</li> <li>Pre-season scheduling reminders</li> <li>No diagnostic fee</li> <li>...</li> </ul> <div class="divider"></div> <p>Selecting this plan saves you approx...</p> <h3 class="savings"><strong>$500</strong> per year</h3> <p>For an investment of only...</p> <h3><strong>$100</strong> per year</h3> </center> </div> <div class="bhoechie-tab-content"> <center> <h1 class="glyphicon glyphicon-wrench" style="font-size:10em;color:#55518a"></h1> <h2 style="margin-top: 0;color:#55518a">Age:<br/>8-10 Years</h2> <div class="divider"></div> <p>We recommend our...</p> <h3 style="margin-top: 0;color:#55518a">Optimum 89-point<br/>Maintenance Plan</h3> <div class="divider"></div> <p>This plan includes the following...</p> <h4>Thermostat</h4> <ul> <li>Item Checked 1</li> <li>Item Checked 2</li> <li>Item Checked 3</li> <li>...</li> </ul> <div class="divider"></div> <p>All our plans are backed by our...</p> <a href="#"><h3>No Breakdown Guarantee</h3></a> <a href="#"><h3>100% Satisfaction Guarantee</h3></a> <div class="divider"></div> <p>Additional benefits to enrolling...</p> <ul> <li>10% off repairs</li> <li>Pre-season scheduling reminders</li> <li>No diagnostic fee</li> <li>...</li> </ul> <div class="divider"></div> <p>Selecting this plan saves you approx...</p> <h3 class="savings"><strong>$500</strong> per year</h3> <p>For an investment of only...</p> <h3><strong>$100</strong> per year</h3> </center> </div> <div class="bhoechie-tab-content"> <center> <h1 class="glyphicon glyphicon-wrench" style="font-size:10em;color:#55518a"></h1> <h2 style="margin-top: 0;color:#55518a">Age:<br/>10+ Years</h2> <div class="divider"></div> <p>We recommend our...</p> <h3 style="margin-top: 0;color:#55518a">Rejuvenation 101-point<br/>Maintenance Plan</h3> <div class="divider"></div> <p>This plan includes the following...</p> <h4>Thermostat</h4> <ul> <li>Item Checked 1</li> <li>Item Checked 2</li> <li>Item Checked 3</li> <li>...</li> </ul> <div class="divider"></div> <p>All our plans are backed by our...</p> <a href="#"><h3>No Breakdown Guarantee</h3></a> <a href="#"><h3>100% Satisfaction Guarantee</h3></a> <div class="divider"></div> <p>Additional benefits to enrolling...</p> <ul> <li>10% off repairs</li> <li>Pre-season scheduling reminders</li> <li>No diagnostic fee</li> <li>...</li> </ul> <div class="divider"></div> <p>Selecting this plan saves you approx...</p> <h3 class="savings"><strong>$500</strong> per year</h3> <p>For an investment of only...</p> <h3><strong>$100</strong> per year</h3> </center> </div> <button type="button" class="btn btn-success btn-lg enroll center-block">Enroll Now</button> </div> </div> </div> </div>
.divider { border-bottom: 1px solid #aaa; margin-bottom: 10px; margin-top: 20px; } h4 a { font-size:20px; } ul { text-align: left; } h4 {text-align: left;} .savings {color: green;} .enroll {margin-top: 40px; margin-bottom: 40px;} /* bhoechie tab */ div.bhoechie-tab-container{ z-index: 10; background-color: #ffffff; padding: 0 !important; border-radius: 1px; -moz-border-radius: 1px; border:1px solid #ddd; margin-top: 20px; margin-left: 50px; margin-bottom: 40px; -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: