"Vertical Tabs Wizard"
Bootstrap 3.3.0 Snippet by irving1425

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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" style="margin-top: 10px"> <div class="row"> <div class="col col-sm-4"> <ul class="nav nav-tabs nav-stacked text-center" role="tablist"> <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li> <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li> <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li> </ul> </div> <div class="col col-sm-8"> <div class="row tab-content"> <div role="tabpanel" class="tab-pane fade active in" id="home"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsu </div> <div role="tabpanel" class="tab-pane fade" id="profile"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. </div> <div role="tabpanel" class="tab-pane fade" id="messages"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum </div> </div> </div> </div> <div class="row"> <ul class="list-inline pull-right"> <li><button type="button" class="btn btn-default prev-step">Previous</button></li> <li><button type="button" class="btn btn-default next-step">Next</button></li> <li><button type="button" class="btn btn-primary ">Save</button></li> </ul> </div> </div>
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover { border-width: 0; } .nav-stacked > li + li { margin-top: 0px; } .nav-tabs > li > a { padding: 50px 100px 50px 100px !important; color: #AAAAAA; background-color: #E3F2FD; border: 0px; border-radius: 0px; margin: 0; } .nav-tabs > li > a:hover, .nav-tabs > li > a:focus { background-color: #448AFF; color: #FFFFFF; z-index: 99; transition: all 0.5s ease 0s; } .nav-tabs > li.active > a { color: #FFFFFF; background-color: #2962FF; box-shadow: 0 0px 5px rgba(0, 0, 0, .6); z-index: 100; } .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { color: #FFFFFF; background-color: #2962FF; box-shadow: 0 0px 5px rgba(0, 0, 0, .6); transition: all 0.5s ease 0s; } .btn { display: inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 14px; font-weight: normal; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-image: none; border: 1px solid transparent; border-radius: 1px; box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); transition: all 0.5s ease 0s; } .btn-primary { background-color: #2962FF; } .btn-primary:hover, .btn-primary:focus { background-color: #0D47A1; }
$(document).ready(function () { $(".next-step").click(function (e) { var $active = $('.nav-tabs li.active'); $active.next().removeClass('disabled'); nextTab($active); }); $(".prev-step").click(function (e) { var $active = $('.nav-tabs li.active'); prevTab($active); }); }); function nextTab(elem) { $(elem).next().find('a[data-toggle="tab"]').click(); } function prevTab(elem) { $(elem).prev().find('a[data-toggle="tab"]').click(); }

Related: See More


Questions / Comments: