"Form wizard with circular tabs "
Bootstrap 3.3.0 Snippet by iwebgraph

<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"> <div class="row"> <section> <div class="wizard"> <div class="wizard-inner"> <div class="connecting-line"></div> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#step1" data-toggle="tab" aria-controls="step1" role="tab" title="Step 1"> <span class="round-tab"> <i class="glyphicon glyphicon-folder-open"></i> </span> </a> </li> <li role="presentation" class="disabled"> <a href="#step2" data-toggle="tab" aria-controls="step2" role="tab" title="Step 2"> <span class="round-tab"> <i class="glyphicon glyphicon-pencil"></i> </span> </a> </li> <li role="presentation" class="disabled"> <a href="#step3" data-toggle="tab" aria-controls="step3" role="tab" title="Step 3"> <span class="round-tab"> <i class="glyphicon glyphicon-picture"></i> </span> </a> </li> <li role="presentation" class="disabled"> <a href="#complete" data-toggle="tab" aria-controls="complete" role="tab" title="Complete"> <span class="round-tab"> <i class="glyphicon glyphicon-ok"></i> </span> </a> </li> </ul> </div> <form role="form"> <div class="tab-content"> <div class="tab-pane active" role="tabpanel" id="step1"> <div class="step1"> <h1>Policy Details</h1> <div class="row"> <!-- panel preview --> <div class="col-sm-12"> <div class="panel panel-default"> <div class="panel-body form-horizontal payment-form"> <div class="row"> <div class="col-sm-6"> <div class="form-group"> <label for="status" class="control-label">Insurance Type</label> <select class="form-control" id="status" name="status"> <option>Select an Option</option> <option>Type 1</option> <option>Type 2</option> </select> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label for="pnumber" class="control-label">Policy Number</label> <input type="number" class="form-control" id="pnumber" name="pnumber"> </div> </div> </div> <div class="form-group"> <div class="col-sm-6"> <div class="form-group"> <label for="pstartdate" class="control-label">Policy Start Date</label> <input type="date" class="form-control" id="pstartdate" name="pstartdate"> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label for="penddate" class="control-label">Policy End Date</label> <input type="date" class="form-control" id="penddate" name="penddate"> </div> </div> </div> <div class="form-group"> <div class="col-sm-6"> <label for="claimno" class="control-label">Claim Number (Optional)</label> <input type="number" class="form-control" id="claimno" name="claimno"> </div> </div> </div> </div> </div> <!-- / panel preview --> </div> </div> <ul class="list-inline pull-right"> <li><button type="button" class="btn btn-primary next-step">Save and continue</button></li> </ul> </div> <div class="tab-pane" role="tabpanel" id="step2"> <div class="step2"> <h2>Fraud Committed By</h2> <div class="row"> <div class="col-md-6"> <label for="name">Name</label> <input type="text" class="form-control" id="name"> </div> <div class="col-sm-6"> <div class="form-group"> <label for="status" class="control-label">Type</label> <select class="form-control" id="status" name="status"> <option>Select an Option</option> <option>Type 1</option> <option>Type 2</option> </select> </div> </div> </div> <div class="row"> <div class="col-md-6"> <label for="contact">Contact number</label> <input type="number" class="form-control" id="contact"> </div> <div class="col-md-6"> <label for="address">Address</label> <input type="text" class="form-control" id="address"> </div> </div> <div class="row"> <div class="col-md-4"> <label for="city">city</label> <input type="text" class="form-control" id="city"> </div> <div class="col-md-4"> <label for="state">State</label> <input type="text" class="form-control" id="state"> </div> <div class="col-md-4"> <label for="pincode">Pin Code</label> <input type="number" class="form-control" id="pincode"> </div> </div> <div class="row"> <div class="col-sm-6"> <div class="form-group"> <label for="idtype" class="control-label">Identification Type</label> <select class="form-control" id="idtype" name="idtype"> <option>Select an Option</option> <option>Type 1</option> <option>Type 2</option> </select> </div> </div> <div class="col-md-6"> <label for="idno">Identification Number</label> <input type="number" class="form-control" id="idno"> </div> </div> </div> <br> <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-primary next-step">Save and continue</button></li> </ul> </div> <div class="tab-pane" role="tabpanel" id="step3"> <div class="step33"> <h5><strong>Case Details</strong></h5> <hr> <div class="row mar_ned"> </div> <div class="row mar_ned"> <div class="col-md-4 col-xs-3"> <p align="right"><stong>Marital Status</stong></p> </div> <div class="col-md-8 col-xs-9"> <label class="radio-inline"> <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> Single </label> <label class="radio-inline"> <input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3"> Married </label> </div> </div> <div class="row mar_ned"> <div class="col-md-4 col-xs-3"> <p align="right"><stong>Highest Education</stong></p> </div> <div class="col-md-8 col-xs-9"> <select name="highest_qualification" id="highest_qualification" class="dropselectsec"> <option value=""> Select Highest Education</option> <option value="1">Ph.D</option> <option value="2">Masters Degree</option> <option value="3">PG Diploma</option> <option value="4">Bachelors Degree</option> <option value="5">Diploma</option> <option value="6">Intermediate / (10+2)</option> <option value="7">Secondary</option> <option value="8">Others</option> </select> </div> </div> <div class="row mar_ned"> <div class="col-md-4 col-xs-3"> <p align="right"><stong>Specialization</stong></p> </div> <div class="col-md-8 col-xs-9"> <input type="text" name="specialization" id="specialization" placeholder="Specialization" class="dropselectsec" autocomplete="off"> </div> </div> <div class="row mar_ned"> </div> </div> <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">Skip</button></li> <li><button type="button" class="btn btn-primary btn-info-full next-step">Save and continue</button></li> </ul> </div> <div class="tab-pane" role="tabpanel" id="complete"> <div class="step44"> <h5>Completed</h5> </div> </div> <div class="clearfix"></div> </div> </form> </div> </section> </div> </div>
.wizard { margin: 20px auto; background: #fff; } .wizard .nav-tabs { position: relative; margin: 40px auto; margin-bottom: 0; border-bottom-color: #e0e0e0; } .wizard > div.wizard-inner { position: relative; } .connecting-line { height: 2px; background: #e0e0e0; position: absolute; width: 80%; margin: 0 auto; left: 0; right: 0; top: 50%; z-index: 1; } .wizard .nav-tabs > li.active > a, .wizard .nav-tabs > li.active > a:hover, .wizard .nav-tabs > li.active > a:focus { color: #555555; cursor: default; border: 0; border-bottom-color: transparent; } span.round-tab { width: 70px; height: 70px; line-height: 70px; display: inline-block; border-radius: 100px; background: #fff; border: 2px solid #e0e0e0; z-index: 2; position: absolute; left: 0; text-align: center; font-size: 25px; } span.round-tab i{ color:#555555; } .wizard li.active span.round-tab { background: #fff; border: 2px solid #5bc0de; } .wizard li.active span.round-tab i{ color: #5bc0de; } span.round-tab:hover { color: #333; border: 2px solid #333; } .wizard .nav-tabs > li { width: 25%; } .wizard li:after { content: " "; position: absolute; left: 46%; opacity: 0; margin: 0 auto; bottom: 0px; border: 5px solid transparent; border-bottom-color: #5bc0de; transition: 0.1s ease-in-out; } .wizard li.active:after { content: " "; position: absolute; left: 46%; opacity: 1; margin: 0 auto; bottom: 0px; border: 10px solid transparent; border-bottom-color: #5bc0de; } .wizard .nav-tabs > li a { width: 70px; height: 70px; margin: 20px auto; border-radius: 100%; padding: 0; } .wizard .nav-tabs > li a:hover { background: transparent; } .wizard .tab-pane { position: relative; padding-top: 50px; } .wizard h3 { margin-top: 0; } .step1 .row { margin-bottom:10px; } .step_21 { border :1px solid #eee; border-radius:5px; padding:10px; } .step33 { border:1px solid #ccc; border-radius:5px; padding-left:10px; margin-bottom:10px; } .dropselectsec { width: 68%; padding: 6px 5px; border: 1px solid #ccc; border-radius: 3px; color: #333; margin-left: 10px; outline: none; font-weight: normal; } .dropselectsec1 { width: 74%; padding: 6px 5px; border: 1px solid #ccc; border-radius: 3px; color: #333; margin-left: 10px; outline: none; font-weight: normal; } .mar_ned { margin-bottom:10px; } .wdth { width:25%; } .birthdrop { padding: 6px 5px; border: 1px solid #ccc; border-radius: 3px; color: #333; margin-left: 10px; width: 16%; outline: 0; font-weight: normal; } /* according menu */ #accordion-container { font-size:13px } .accordion-header { font-size:13px; background:#ebebeb; margin:5px 0 0; padding:7px 20px; cursor:pointer; color:#fff; font-weight:400; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px } .unselect_img{ width:18px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .active-header { -moz-border-radius:5px 5px 0 0; -webkit-border-radius:5px 5px 0 0; border-radius:5px 5px 0 0; background:#F53B27; } .active-header:after { content:"\f068"; font-family:'FontAwesome'; float:right; margin:5px; font-weight:400 } .inactive-header { background:#333; } .inactive-header:after { content:"\f067"; font-family:'FontAwesome'; float:right; margin:4px 5px; font-weight:400 } .accordion-content { display:none; padding:20px; background:#fff; border:1px solid #ccc; border-top:0; -moz-border-radius:0 0 5px 5px; -webkit-border-radius:0 0 5px 5px; border-radius:0 0 5px 5px } .accordion-content a{ text-decoration:none; color:#333; } .accordion-content td{ border-bottom:1px solid #dcdcdc; } @media( max-width : 585px ) { .wizard { width: 90%; height: auto !important; } span.round-tab { font-size: 16px; width: 50px; height: 50px; line-height: 50px; } .wizard .nav-tabs > li a { width: 50px; height: 50px; line-height: 50px; } .wizard li.active:after { content: " "; position: absolute; left: 35%; } }
$(document).ready(function () { //Initialize tooltips $('.nav-tabs > li a[title]').tooltip(); //Wizard $('a[data-toggle="tab"]').on('show.bs.tab', function (e) { var $target = $(e.target); if ($target.parent().hasClass('disabled')) { return false; } }); $(".next-step").click(function (e) { var $active = $('.wizard .nav-tabs li.active'); $active.next().removeClass('disabled'); nextTab($active); }); $(".prev-step").click(function (e) { var $active = $('.wizard .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(); } //according menu $(document).ready(function() { //Add Inactive Class To All Accordion Headers $('.accordion-header').toggleClass('inactive-header'); //Set The Accordion Content Width var contentwidth = $('.accordion-header').width(); $('.accordion-content').css({}); //Open The First Accordion Section When Page Loads $('.accordion-header').first().toggleClass('active-header').toggleClass('inactive-header'); $('.accordion-content').first().slideDown().toggleClass('open-content'); // The Accordion Effect $('.accordion-header').click(function () { if($(this).is('.inactive-header')) { $('.active-header').toggleClass('active-header').toggleClass('inactive-header').next().slideToggle().toggleClass('open-content'); $(this).toggleClass('active-header').toggleClass('inactive-header'); $(this).next().slideToggle().toggleClass('open-content'); } else { $(this).toggleClass('active-header').toggleClass('inactive-header'); $(this).next().slideToggle().toggleClass('open-content'); } }); return false; });

Related: See More


Questions / Comments: