Coder Social home page Coder Social logo

orenf / jquery-steps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rstaib/jquery-steps

0.0 2.0 0.0 15.64 MB

A powerful jQuery wizard plugin that supports accessibility and HTML5.

Home Page: http://www.jquery-steps.com

License: MIT License

JavaScript 84.59% CSS 7.48% HTML 7.92%

jquery-steps's Introduction

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.

jquery-steps's People

Contributors

rstaib avatar civico92 avatar

Watchers

James Cloos avatar Oren Forer avatar

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.