Created
June 28, 2013 23:43
-
-
Save jacortinas/5888952 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$(document).foundation('joyride', { | |
cookieMonster: true, | |
cookieName: 'tour', | |
cookieExpires: 365 * 5, | |
postRideCallback: function() { | |
alert('yeah'); | |
console.log(arguments); | |
} | |
}); | |
$(document).foundation('joyride', 'start'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to get joyride started with some default options set in javascript. Nothing I've tried seems to work.