Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Tournament Workflow"
Bootstrap 3.3.0 Snippet by
Guido87
3.3.0
jQuery
Preview
HTML
CSS
JS
View Full Screen
Forked from
Fork
Fork this
Parent
633
 
0 Fav
Post to Facebook
Tweet this
<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 ----------> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <div class="container"> <div class="row"> <div class="process"> <div class="process-row nav nav-tabs"> <div class="process-step"> <button type="button" class="btn btn-info btn-circle" data-toggle="tab" href="#menu1"><i class="fa fa-info fa-3x"></i></button> <p><small>Tournament Guidelines</small></p> </div> <div class="process-step"> <button type="button" class="btn btn-default btn-circle" data-toggle="tab" href="#menu2"><i class="fa fa-file-text-o fa-3x"></i></button> <p><small>Basic Information</small></p> </div> <div class="process-step"> <button type="button" class="btn btn-default btn-circle" data-toggle="tab" href="#menu3"><i class="fa fa-film fa-3x"></i></button> <p><small>Upload</small></p> </div> <div class="process-step"> <button type="button" class="btn btn-default btn-circle" data-toggle="tab" href="#menu4"><i class="fa fa-cogs fa-3x"></i></button> <p><small>Timeline</small></p> </div> <div class="process-step"> <button type="button" class="btn btn-default btn-circle" data-toggle="tab" href="#menu5"><i class="fa fa-trophy fa-3x"></i></button> <p><small>Prizes</small></p> </div> <div class="process-step"> <button type="button" class="btn btn-default btn-circle" data-toggle="tab" href="#menu6"><i class="fa fa-check fa-3x"></i></button> <p><small>FinalStep</small></p> </div> </div> </div> <div class="tab-content"> <div id="menu1" class="tab-pane fade active in"> <h3>Menu 1</h3> <p>Some content in menu 1.</p> <ul class="list-unstyled list-inline pull-right"> <li><button type="button" class="btn btn-info next-step">Next <i class="fa fa-chevron-right"></i></button></li> </ul> </div> <div id="menu2" class="tab-pane fade"> <h3>Menu 2</h3> <p>Some content in menu 2.</p> <ul class="list-unstyled list-inline pull-right"> <li><button type="button" class="btn btn-default prev-step"><i class="fa fa-chevron-left"></i> Back</button></li> <li><button type="button" class="btn btn-info next-step">Next <i class="fa fa-chevron-right"></i></button></li> </ul> </div> <div id="menu3" class="tab-pane fade"> <h3>Menu 3</h3> <p>Some content in menu 3.</p> <ul class="list-unstyled list-inline pull-right"> <li><button type="button" class="btn btn-default prev-step"><i class="fa fa-chevron-left"></i> Back</button></li> <li><button type="button" class="btn btn-info next-step">Next <i class="fa fa-chevron-right"></i></button></li> </ul> </div> <div id="menu4" class="tab-pane fade"> <h3>Menu 4</h3> <p>Some content in menu 4.</p> <ul class="list-unstyled list-inline pull-right"> <li><button type="button" class="btn btn-default prev-step"><i class="fa fa-chevron-left"></i> Back</button></li> <li><button type="button" class="btn btn-info next-step">Next <i class="fa fa-chevron-right"></i></button></li> </ul> </div> <div id="menu5" class="tab-pane fade"> <h3>Menu 5</h3> <p>Some content in menu 5.</p> <ul class="list-unstyled list-inline pull-right"> <li><button type="button" class="btn btn-default prev-step"><i class="fa fa-chevron-left"></i> Back</button></li> <li><button type="button" class="btn btn-success"><i class="fa fa-check"></i> Done!</button></li> </ul> </div> </div> </div> </div>
.process-step .btn:focus{outline:none} .process{display:table;width:100%;position:relative} .process-row{display:table-row} .process-step button[disabled]{opacity:1 !important;filter: alpha(opacity=100) !important} .process-row:before{top:40px;bottom:0;position:absolute;content:" ";width:100%;height:1px;background-color:#ccc;z-order:0} .process-step{display:table-cell;text-align:center;position:relative} .process-step p{margin-top:4px} .btn-circle{width:80px;height:80px;text-align:center;font-size:12px;border-radius:50%}
$(function(){ $('.btn-circle').on('click',function(){ $('.btn-circle.btn-info').removeClass('btn-info').addClass('btn-default'); $(this).addClass('btn-info').removeClass('btn-default').blur(); }); $('.next-step, .prev-step').on('click', function (e){ var $activeTab = $('.tab-pane.active'); $('.btn-circle.btn-info').removeClass('btn-info').addClass('btn-default'); if ( $(e.target).hasClass('next-step') ) { var nextTab = $activeTab.next('.tab-pane').attr('id'); $('[href="#'+ nextTab +'"]').addClass('btn-info').removeClass('btn-default'); $('[href="#'+ nextTab +'"]').tab('show'); } else { var prevTab = $activeTab.prev('.tab-pane').attr('id'); $('[href="#'+ prevTab +'"]').addClass('btn-info').removeClass('btn-default'); $('[href="#'+ prevTab +'"]').tab('show'); } }); });
Related:
See More
Template
Vue Light Bootstrap Dashboard PRO
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76