I am using intro.js
functionality across 3 different urls. I have limited it to show to users only the first time they load a page with:
unless $.cookie("firstview")? introJs().start()
$.cookie "firstview", "firstSet", expires: 365
But the one cookie prevents all subsequent urls from showing their intro.js
for the first time. I tried:
unless $.cookie("page1")?
introJs(".page1").start()
$.cookie "page1", "firstSet", expires: 365, page: "/page1"
unless $.cookie("page2")?
introJs(".page2").start()
$.cookie "page2", "firstSet", expires: 365, page: "/page2"
But still only the first page will show. Any ideas?