guided tours introjs - Download Small & Beautiful Guided Tours In jQuery - introJS

Download Small & Beautiful Guided Tours In jQuery – introJS

Posted on

This time I will share jQuery Plugin and tutorial about Small & Beautiful Guided Tours In jQuery – introJS, hope it will help you in programming stack.

guided tours introjs - Download Small & Beautiful Guided Tours In jQuery - introJS
File Size: 11.8 KB
Views Total: 765
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

introJS is a small (~1kb minified) jQuery guided tour plugin which can be used to introduce new features with a step-by-step guide for your web app.

How to use it:

1. Load the introJS plugin’s script intro.min.js after loading jQuery.

2         integrity="sha384-JUMjoW8OzDJw4oFpWIB2Bu/c6768ObEthBMVSiIx4ruBIEdyNSUQAjJNFqT5pnJ6"
3         crossorigin="anonymous">
4 </script>
5 <script src="intro.js"></script>

2. Create an array of JS objects containging elements and introductions.

01 const myTour = [{
02       "class":"masthead-brand",
03       "msg":"Logo Here"
04       },{
05       "class":"active",
06       "msg":"<a href="https://www.jqueryscript.net/tags.php?/Navigation/">Navigation</a> Here"
07       },{
08       "class":"cover-heading",
09       "msg":"Page Title Here"
10       },{
11       "class":"btn-lg",
12       "msg":"Description Here"
13 }]

3. Initialize the introJS and the plugin will do the rest. Possible parameters.

  • myjsonarr: JSON array
  • nextbtnclassname: CSS class for the next button
  • closebtnclassname: CSS class for the close button
  • enableScroll: enables page scroll
1 // initiateIntro(myjsonarr,nextbtnclassname,closebtnclassname,enableScroll)
2 initiateIntro(myTour,'','',true);

This awesome jQuery plugin is developed by iamdshri. For more Advanced Usages, please check the demo page or visit the official website.

source : jquery.net