First of all, Great work. This looks way cooler than introJS.
To my issue, I was hoping to create a walkthrough, using Chardin, so, I'm changing the data-intro using JQuery and trying to start and stop Chardin in a linear fashion. But it seems like we cannot restart Chardin again from inside the stop event, like as follows
$('body').on('chardinJs:stop', function () {
if (sessionStorage.getItem("ChardinTest") == '0') {
$('.switchChardin').removeAttr("data-intro");
$('.switchChardin').removeAttr("data-position");
$('.bordercust1').removeAttr("data-intro");
$('.bordercust1').removeAttr("data-position");
the new release has the ability to sequentially step through elements. there is a toggle function that should stop/start the lib but that's now unnecessary for you to use.
First of all, Great work. This looks way cooler than introJS. To my issue, I was hoping to create a walkthrough, using Chardin, so, I'm changing the data-intro using JQuery and trying to start and stop Chardin in a linear fashion. But it seems like we cannot restart Chardin again from inside the stop event, like as follows
$('body').on('chardinJs:stop', function () { if (sessionStorage.getItem("ChardinTest") == '0') { $('.switchChardin').removeAttr("data-intro"); $('.switchChardin').removeAttr("data-position"); $('.bordercust1').removeAttr("data-intro"); $('.bordercust1').removeAttr("data-position");