Giter Club home page Giter Club logo

bootstrap-wizard's Introduction

BootstrapWizard - v0.1

http://www.bootstrapwizard.com

Responsive Bootstrap 3 Wizard

Designed as a clean wizard to be used in a Bootstrap Panel, a Modal, etc.

Screenshot

Usage

<div class="wizard">
    <ul class="nav nav-wizard">
        <li>
            <a href="#step1">Step 1</a>
        </li>
        ...
    </ul>
            
    <div class="wizard-pane" id="step1">
        <h3>Step 1</h3>
        <form>
        ...
        </form>
    </div>
    ...
</div>
$(".wizard").bootstrapWizard(options);

Options

nametypedefaultdescription
widthnumericnullwidth of the wizard
heightnumeric300height of wizard
cancelButtonbooleanfalsedisplay the cancel button
footerButtonsbooleantruedisplay the footer buttons
progressBarbooleantruedisplay the progress bar
buttonTextobject
{
  cancel: "Cancel",
  next: "Next",
  back: "Back",
  submit: "Submit",
}
text for the buttons

Methods

methoddescription
markAllVisitedmark all nav items as visited
serializeserialize all the form data

Events

event typedescription
show.bwfired when a nav is selected but has not yet been displayed
submit.bwfires when the submit button is clicked

Inspired by Andrew Moffat's Bootstrap Application Wizard

Sub step collapse credit to Osman Nuri Okumuş MetisMenu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.