I'm using Foundation Joyride and every time I load the webpage the tour starts, but how do I only start the tour for the first time the webpage is loaded?
i refer the question Foundation joyride start only on first load . but not working.
My settings are ..
<script src="~/Scripts/Foundation/foundation.js"></script>
<script src="~/Scripts/jquery.cookie.js"></script>
<script src="~/Scripts/Foundation/foundation.joyride.js"></script>
<body>
.......................
<ol class="joyride-list" data-joyride id="tour">
<li data-id="welcome" data-text="Next" data-options="tip_location:top">
<p>Welcome, you can manage your accont details here.</p>
</li>
<li data-id="numero2" data-button="End">
<p>You can see all the Log details here.</p>
</li>
</ol>
<script>
$(window).load(function () {
$("#tour").joyride({
cookieMonster: true,
cookieName: 'JoyRide'
});
});
$(document).foundation();
$(document).foundation('joyride', 'start');
</script>
</body>