[Steps] A Simple, Lightweight jQuery Step Wizard Plugin

jQuery steps wizard is a simple and lightweight plugin. The step is a jQuery plugin that turns any grouped elements into a step-by-step wizard with navigation buttons and callback functions.

Features:

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

Compatibility

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

Must Read: Framework for Progress Forms Steps | jQuery-Form-Slider

jQuery Step Wizard Plugin Details

Post NamejQuery Step Wizard Plugin
Author Nameoguzhanoya
CategoryForm Plugins, Progress Bar
Official PageClick Here
Official Websitegithub.com
Publish DateSeptember 21, 2020
Last UpdateSeptember 17, 2023
DownloadLink Below
LicenseMIT

How to make use of it:

Installation:

npm install jquery.steps

1. Include plugin style sheets.

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

2. Do the necessary coding for the processor. That’s it, 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>

3. Include plugins and dependencies. jQuery is the only dependency, be sure to include it.

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

4. Initial plugin with selected options.

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

Configuration

Must Read: HTML Component To illustrate Steps In A Multi-step Process | SASS Progress Tracker

SettingDefault ValueDescription
startAt0Starts wizard at specified step number.
showBackButtontrueIndicates whether the back button will be visible.
showFooterButtonstrueIndicates whether the footer buttons will be visible.
stepSelector.step-stepsThe selector is used for each step.
contentSelector.step-contentThe selector used for the step content.
footerSelector.step-footerThe selector used for the buttons.
activeClassactiveThe class is used when a step is active.
doneClassdoneThe class is used when a step is done.
errorClasserrorThe class is used when an error occurs in a step.
onInitfunction(){}Fired when the plugin is initialized.
onChangefunction(currentIndex, newIndex, stepDirection){return true;}Fired when the plugin step changed.
onFinishfunction(){}Fired when the plugin wizard finished.
onDestroyfunction(){}Fired when the plugin destroys.

Methods

Must Read: A Wizard-Style Plugin With a Series of Customizable Steps | MultiStep

NameDescription
destoryDestroy the plugin instance.
nextGoes to the next step.
prevGoes to the previous step.
finishTrigger the onFinish event.
getStepIndexGets the current step index.(start from 0)
getMaxStepIndexGets the max step index.
setStepIndexSets the step index.

See Demo And Download

jquery-steps-plugin

Official Website(oguzhanoya): Click Here

This superior jQuery/javascript plugin is developed by oguzhanoya. For extra Advanced Usage, please go to the official website.

Related Posts

VenoBox-Responsive-jQuery-Lightbox-Plugin

Responsive Image Gallery Lightbox jQuery Plugin | VenoBox

VenoBox is a responsive jQuery modal window plugin suitable for images, embedded content, iFrames, Google Maps, Vimeo, and YouTube videos. The big difference compared to many other…

bootstrap-dropdown-on-hover

[Animation] Bootstrap Multi-Level Responsive Dropdown Menu

Bootstrap-based multi-level dropdown navigation menu with cool animations. The dropdown on Hover is a jQuery plugin used to create Bootstrap multi-level scroll-triggered dropdown menus with CSS3 animations…

Google-Translate-Dropdown-Customize-With-Country-Flag

Google Translate Dropdown Customize With Country Flag | GT API

Flag google translates jQuery text that takes advantage of the Google Cloud Translation API to translate web content between languages by selecting a country from the dropdown…

Bootstrap-Fileinput

HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….

HStack-and-VStack-in-CSS

CSS Layout Components Horizontal/Vertical Stack | HStack and VStack

HStack and VStack in CSS – CSS layout components that (basically) stack anything horizontally and vertically. A pure CSS library that makes it easy to stack elements…

Floating-Whatsapp-Chat-Button

How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…

Leave a Reply

Your email address will not be published. Required fields are marked *