JavaScripting

The definitive source of the best
JavaScript libraries, frameworks, and plugins.


  • ×

    jQuery Steps

    A powerful jQuery wizard plugin that supports accessibility and HTML5.
    Filed under 

    • 🔾48%Overall
    • 1,690
    • 39.7 days
    • 🕩788
    • 👥4

    jQuery Steps Plugin Build Status Bower version NuGet version

    A powerful jQuery wizard plugin that supports accessibility and HTML5.

    Getting Started

    jQuery Steps is a lightweight wizard UI component written for jQuery.

    Everything you need to start is:

    1. Include jQuery and jQuery Steps in your HTML code.
    2. Then select an element represents the wizard and call the steps method.
    <!DOCTYPE html>
    <html>
        <head>
            <title>Demo</title>
            <meta charset="utf-8">
            <script src="jquery.js"></script> 
            <script src="jquery.steps.js"></script>
            <link href="jquery.steps.css" rel="stylesheet">
        </head>
        <body>
            <script>
                $("#wizard").steps();
            </script>
            <div id="wizard"></div>
        </body>
    </html>
    

    For more information check the documentation.

    How to add initial steps?

    There are two ways to add steps and their corresponding content.

    1. Add HTML code into the representing wizard element.
    <div id="wizard">
        <h1>First Step</h1>
        <div>First Content</div>
    
        <h1>Second Step</h1>
        <div>Second Content</div>
    </div>
    
    1. Or use the API to add steps dynamically.
    // Initialize wizard
    var wizard = $("#wizard").steps();
    
    // Add step
    wizard.steps("add", {
        title: "HTML code", 
        content: "<strong>HTML code</strong>"
    });
    

    For more samples check the demos.

    Reporting an Issue

    Instructions will follow soon!

    Asking questions

    I'm always happy to help answer your questions. The best way to get quick answers is to go to stackoverflow.com and tag your questions always with jquery-steps.

    Contributing

    Instructions will follow soon!

    License

    Copyright (c) 2013 Rafael J. Staib Licensed under the MIT license.

    Show All