Quick Start
Here you can find a simple way to add a basic introduction and hints to your page.
#
RequirementsBefore you start, make sure you have Intro.js installed. Read here for a quick installation.
#
Adding introAfter installing Introjs, add data-intro
and data-step
to your HTML elements..
For example:
See all attributes here.
Finally, call this JavaScript function:
Optionally, pass one parameter to introJs
function to limit the presentation section.
Example:
runs the introduction only for elements with class='introduction-farm'
.
#
Adding hintsTo add hints you should use data-hint
attribute on elements.
For example:
Then call this JavaScript function to add the hints to the page: