GithubHelp home page GithubHelp logo

fabiosoggia / wizard-js Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 136 KB

WizardJS is a ridiculously easy jQuery plugin to create wizards.

Home Page: http://fabiosoggia.github.io/wizard-js/demo/index.html

JavaScript 70.19% HTML 13.47% CoffeeScript 16.34%

wizard-js's Introduction

WizardJS

WizardJS is a ridiculously easy jQuery plugin to create wizards.

Usage

  1. Create the markup:
<div id="wizard">
	<h1>My wizard</h1>
	<div class="wizard-step">
		<h2>Step 1</h2>
		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eveniet, optio?</p>
	</div>
	<div class="wizard-step">
		<h2>Step 2</h2>
		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Beatae, temporibus.</p>
	</div>
	<div class="wizard-step">
		<h2>Step 3</h2>
		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. In, nihil.</p>
	</div>
	<div class="wizard-step">
		<h2>Step 4</h2>
		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus, inventore.</p>
	</div>
	<div class="wizard-step">
		<h2>Step 5</h2>
		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, necessitatibus?</p>
	</div>
	<div>
		<a href="#" class="previous">Previous</a>
		<a href="#" class="next">Next</a>
	</div>
</div>
  1. Include jQuery and plugin's code:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script src="dist/jquery.wizard-js.min.js"></script>
  1. Call the plugin:
$("#wizard").defaultPluginName({
	next: ".next",
	previous: ".previous",
	steps: ".wizard-step",
	activeClass: "active",
	onNext: function () {},
	onPrevious: function () {},
	onChange: function () {}
});

License

MIT License © Fabio Soggia

wizard-js's People

Contributors

fabiosoggia avatar

Watchers

 avatar  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.