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
"Proceso"
Bootstrap 3.3.0 Snippet by
miguelbustamante
3.3.0
jQuery
Preview
HTML
CSS
JS
View Full Screen
Forked from
Fork
Fork this
Parent
732
 
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"> <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.5.4/bootstrap-select.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="#"><i class="fa fa-info fa-3x"></i></button> <p><small>Producto</small></p> </div> <div class="process-step"> <button type="button" class="btn btn-info btn-circle" data-toggle="tab" href="#"><i class="fa fa-info fa-3x"></i></button> <p><small>Detalle</small></p> </div> </div> </div> <div class="tab-content"> <div id="menu1" class="tab-pane fade active in"> <div class="container"> <div class="col-md-12"> <div class="form-area"> <form role="form"> <br style="clear:both"> <h3 style="margin-bottom: 25px; text-align: center;">Producto</h3> <div class="form-group"> <input type="text" class="form-control" id="name" name="name" placeholder="Nombre" required> </div> <div class="form-group"> <select class="selectpicker" data-style="btn-primary" style="display: none;"> <option>Computadora</option> <option>Tablet</option> <option>PC</option> </select> </div> <div class="form-group"> <input type="text" class="form-control" id="mobile" name="mobile" placeholder="Tags" required> </div> <button type="button" id="submit" name="submit" class="btn btn-primary pull-right" data-toggle="tab" href="#menu2">Siguiente</button> </form> </div> </div> </div> </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> Atras</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> </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%} .red{ color:red; } .form-area { background-color: #FAFAFA; padding: 10px 40px 60px; margin: 10px 0px 60px; border: 1px solid GREY; }
$(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
Light Bootstrap Dashboard PRO React
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76