"flyer gen steps"
Bootstrap 4.1.1 Snippet by gbdevteam

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <p> Request a flyer </p> <div class="stepwizard"> <div class="stepwizard-row setup-panel"> <div class="stepwizard-step col-xs-3" style = "background-color: pink; border-style: solid; border-radius: 30px;"> <a href="#step-1" type="box" class="box">New Listing</a> </div> <div class="stepwizard-step col-xs-3" style = "background-color: pink; border-style: solid; border-radius: 30px;"> <a href="#step-2" type="box" class="box" disabled="disabled">Open House</a> </div> <div class="stepwizard-step col-xs-3" style = "background-color: pink; border-style: solid; border-radius: 30px;"> <a href="#step-3" type="box" class="box" disabled="disabled">Just Sold</a> </div> </div> </div> <form role="form"> <div class="panel panel-primary setup-content" id="step-1"> <div class="panel-body"> <div class="row"> <div class="col-3"> <div class="plate"> New Listing 01 <a href ="#"><img class="card-img" src="http://34.217.69.61/wp-content/uploads/2019/03/Listing-01.png" alt=""> </a></div> </div> <div class="col-3"><div class="plate">New Listing 02 <a href ="#"><img class="card-img" src="http://34.217.69.61/wp-content/uploads/2019/03/Listing-02.png" alt=""> </a></div></div> <div class="col-3"><div class="plate">New Listing 03 <a href ="#"><img class="card-img" src="http://34.217.69.61/wp-content/uploads/2019/03/Listing-03-2.png" alt=""> </a></div></div> <div class="col-3"><div class="plate">New Listing 04 <a href ="#"><img class="card-img" src="http://34.217.69.61/wp-content/uploads/2019/03/Listing-04.png" alt=""> </a></div></div> </div> <br> <div class = "row"> <div class="col-3"><div class="plate">New Listing 05 <a href = "#"><img class="card-img" src="http://34.217.69.61/wp-content/uploads/2019/03/Listing-04.png" alt=""> </a></div></div> </div> <br> </div> <!--end of section for new listing--> </div> <div class="panel panel-primary setup-content" id="step-2"> <div class="panel-body"> <div class="row"> <div class="col-3"> <div class="plate">Open House 01 <a href ="#"><img class="card-img" src="http://34.217.69.61/wp-content/uploads/2019/03/Open-House-03-1.png" alt=""> </a></div> </div> <div class="col-3"><div class="plate">Open House 02 <a href ="#"><img class="card-img" src="http://34.217.69.61/wp-content/uploads/2019/03/Open-House-02-1.png" alt=""> </a></div></div> <div class="col-3"><div class="plate">Open House 03 <a href ="#"><img class="card-img" src="http://34.217.69.61/wp-content/uploads/2019/03/Open-House-01-1.png" alt=""> </a></div></div> </div> <br> </div> </div> <div class="panel panel-primary setup-content" id="step-3"> <div class="panel-body"> <div class="row"> <div class="col-3"> <div class="plate"> Just Sold 01 <a href ="#"><img class="card-img" src="http://34.217.69.61/wp-content/uploads/2019/03/Sold-01-1.png" alt=""> </a></div> </div> <div class="col-3"><div class="plate">Just Sold 02 <a href ="#"><img class="card-img" src="http://34.217.69.61/wp-content/uploads/2019/03/Sold-02-1.png" alt=""> </a></div></div> </div> <br> <br> </div> </div> <div class="panel panel-primary setup-content" id="step-4"> <div class="panel-heading"> <h3 class="panel-title">Cargo</h3> </div> <div class="panel-body"> <div class="form-group"> <label class="control-label">Company Name</label> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Company Name" /> </div> <div class="form-group"> <label class="control-label">Company Address</label> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Company Address" /> </div> <button class="btn btn-success pull-right" type="submit">Finish!</button> </div> </div> </form> </div>
/* Latest compiled and minified CSS included as External Resource*/ /* Optional theme */ /*@import url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css');*/ /* styling for the containers holding the flyer gen images*/ .plate{color:#4363a2;background: #fff;padding: 5px;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);border-radius:5px;} /*End of styling for the flyer gen */ .stepwizard-step p { margin-top: 0px; color:#666; } .stepwizard-row { display: table-row; } .stepwizard { display: table; width: 100%; position: relative; } .stepwizard-step button[disabled] { /*opacity: 1 !important; filter: alpha(opacity=100) !important;*/ } .stepwizard .btn.disabled, .stepwizard .btn[disabled], .stepwizard fieldset[disabled] .btn { opacity:1 !important; color:#bbb; } .stepwizard-row:before { top: 14px; bottom: 0; position: absolute; content:" "; width: 100%; height: 1px; background-color: #ccc; z-index: 0; } .stepwizard-step { display: table-cell; text-align: center; position: relative; } .btn-circle { width: 30px; height: 30px; text-align: center; padding: 6px 0; font-size: 12px; line-height: 1.428571429; border-radius: 15px; }
$(document).ready(function () { var navListItems = $('div.setup-panel div a'), allWells = $('.setup-content'), allNextBtn = $('.nextBtn'); allWells.hide(); navListItems.click(function (e) { e.preventDefault(); var $target = $($(this).attr('href')), $item = $(this); if (!$item.hasClass('disabled')) { navListItems.removeClass('btn-success').addClass('btn-default'); $item.addClass('btn-success'); allWells.hide(); $target.show(); $target.find('input:eq(0)').focus(); } }); allNextBtn.click(function () { var curStep = $(this).closest(".setup-content"), curStepBtn = curStep.attr("id"), nextStepWizard = $('div.setup-panel div a[href="#' + curStepBtn + '"]').parent().next().children("a"), curInputs = curStep.find("input[type='text'],input[type='url']"), isValid = true; $(".form-group").removeClass("has-error"); for (var i = 0; i < curInputs.length; i++) { if (!curInputs[i].validity.valid) { isValid = false; $(curInputs[i]).closest(".form-group").addClass("has-error"); } } if (isValid) nextStepWizard.removeAttr('disabled').trigger('click'); }); $('div.setup-panel div a.btn-success').trigger('click'); });

Related: See More


Questions / Comments: