Skip to content

Instantly share code, notes, and snippets.

@jacortinas
Created June 28, 2013 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacortinas/5888952 to your computer and use it in GitHub Desktop.
Save jacortinas/5888952 to your computer and use it in GitHub Desktop.
$(function() {
$(document).foundation('joyride', {
cookieMonster: true,
cookieName: 'tour',
cookieExpires: 365 * 5,
postRideCallback: function() {
alert('yeah');
console.log(arguments);
}
});
$(document).foundation('joyride', 'start');
});
@jacortinas
Copy link
Author

I'm trying to get joyride started with some default options set in javascript. Nothing I've tried seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment