I have different DOM elements I want highlighted with the JS library intro.js. The problem seems to be that I can just define one element to be highlighted:
introjs.setOptions({
steps: [
{
element: '.element1',
intro: 'Lorem ipsum...',
position: 'bottom'
},
{
element: '.element2',
intro: 'Lorem ipsum...',
position: 'top'
}
]
});
I haven't found any option that lets me choose more than 1 element. Do I have to create more instances of the introjs object to make this possible?