All Projects → oguzhanoya → jquery-steps

oguzhanoya / jquery-steps

Licence: other
✅ Lightweight jQuery step wizard plugin.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
stylus
462 projects

Projects that are alternatives of or similar to jquery-steps

ng-wizard
Angular Wizard - Stepper
Stars: ✭ 65 (-30.11%)
Mutual labels:  wizard, step-wizard
Jquery Wizard
A powerful jquery plugin for creating step-by-step wizards. Work great with bootstrap.
Stars: ✭ 82 (-11.83%)
Mutual labels:  jquery-plugin, wizard
Jquery Smartwizard
The awesome jQuery step wizard plugin
Stars: ✭ 635 (+582.8%)
Mutual labels:  jquery-plugin, wizard
ngx-copilot
🏆 The most expected has arrived, a package for Angular that facilitates us to improve the experience of our users when guiding them in our interface
Stars: ✭ 61 (-34.41%)
Mutual labels:  wizard, wizard-steps
jquery.skeleton.loader
A jQuery plugin to make screen skeleton loader.
Stars: ✭ 65 (-30.11%)
Mutual labels:  jquery-plugin
cascading-dropdown
Cascading form drop-down menus
Stars: ✭ 43 (-53.76%)
Mutual labels:  jquery-plugin
decoy
jQuery plugin to make decoys for your elements.
Stars: ✭ 53 (-43.01%)
Mutual labels:  jquery-plugin
jqIpLocation
jqIpLocation – jQuery Plugin that returns the location of an IP address in JSON format
Stars: ✭ 18 (-80.65%)
Mutual labels:  jquery-plugin
jQuery-plugins
jQuery-plugins
Stars: ✭ 36 (-61.29%)
Mutual labels:  jquery-plugin
jquery.random-fade-in
jQuery plugin to fade-in at random.
Stars: ✭ 13 (-86.02%)
Mutual labels:  jquery-plugin
dom-navigator
⚓️ JS library that allow keyboard navigation through DOM elements (←↑→↓).
Stars: ✭ 36 (-61.29%)
Mutual labels:  jquery-plugin
jquery-svg
A jQuery plugin to apply css styles and js scripts to a SVG which is embedded (using the <object> tag).
Stars: ✭ 28 (-69.89%)
Mutual labels:  jquery-plugin
jquery-asColorPicker
ColorInput is a jQuery plugin used to show color picker for a input field.
Stars: ✭ 18 (-80.65%)
Mutual labels:  jquery-plugin
busy-load
A flexible loading-mask jQuery-plugin
Stars: ✭ 76 (-18.28%)
Mutual labels:  jquery-plugin
natural js
Natural-JS : Javascript Front-End Architecture Framework
Stars: ✭ 35 (-62.37%)
Mutual labels:  jquery-plugin
biz-ui
jQuery Plugin Collections for Business
Stars: ✭ 24 (-74.19%)
Mutual labels:  jquery-plugin
tabullet
Simple jQuery plugins for creating a table that can insert, edit, and delete row in one place.
Stars: ✭ 13 (-86.02%)
Mutual labels:  jquery-plugin
LineProgressbar
A light weight jquery progressbar plugin
Stars: ✭ 34 (-63.44%)
Mutual labels:  jquery-plugin
jquery-load-json
jQuery plugin that enables developers to load JSON data from the server and load JSON object into the DOM
Stars: ✭ 26 (-72.04%)
Mutual labels:  jquery-plugin
jsontree
jQuery plugin for JSON visualization
Stars: ✭ 14 (-84.95%)
Mutual labels:  jquery-plugin

jquery-steps

npm License: MIT npm npm

A simple, lightweight jQuery step wizard plugin.

Features

  • Easy configuration
  • Lightweight (2KB gzipped)
  • Works in all major browsers including IE11+

Compatibility

IE11+, Edge, Chrome, Firefox, Opera, Safari

Installation

NPM

npm install jquery.steps

Github

git clone http://github.com/oguzhanoya/jquery-steps.git

CDN

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery-steps.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery-steps.min.js"></script>

Setup

Include plugin stylesheets.

<link rel="stylesheet" href="css/jquery-steps.css">

Make necessary markup for wizard. That's all, you don't need to do anything else.

<div class="step-app" id="demo">
  <ul class="step-steps">
    <li data-step-target="step1">Step 1</li>
    <li data-step-target="step2">Step 2</li>
    <li data-step-target="step3">Step 3</li>
  </ul>
  <div class="step-content">
    <div class="step-tab-panel" data-step="step1">
      ...
    </div>
    <div class="step-tab-panel" data-step="step2">
      ...
    </div>
    <div class="step-tab-panel" data-step="step3">
      ...
    </div>
  </div>
  <div class="step-footer">
    <button data-step-action="prev" class="step-btn">Previous</button>
    <button data-step-action="next" class="step-btn">Next</button>
    <button data-step-action="finish" class="step-btn">Finish</button>
  </div>
</div>

Include plugin and dependeces. jQuery is the only dependency, make sure to include it.

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="js/jquery-steps.js"></script>

Init plugin with choosen options.

<script>
  $('#demo').steps({
    onFinish: function () { alert('complete'); }
  });
</script>

Configuration

Setting Default Value Description
startAt 0 Starts wizard at specifed step number.
showBackButton true Indicates whether the back button will be visible.
showFooterButtons true Indicates whether the footer buttons will be visible.
stepSelector .step-steps The selector used for each step.
contentSelector .step-content The selector used for the step content.
footerSelector .step-footer The selector used for the buttons.
activeClass active The class used when a step is active.
doneClass done The class used when a step is done.
errorClass error The class used when an error occurs in a step.
onInit function(){} Fired when plugin is initialized.
onChange function(currentIndex, newIndex, stepDirection){return true;} Fired when plugin step changed.
onFinish function(){} Fired when plugin wizard finished.
onDestroy function(){} Fired when plugin destroy.

Methods

Name Description
destory Destroy the plugin instance.
next Goes to the next step.
prev Goes to the previous step.
finish Trigger the onFinish event.
getStepIndex Gets the current step index.(start from 0)
getMaxStepIndex Gets the max step index.
setStepIndex Sets the step index.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].