Foundation joyride start only on first load
问题 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? My settings are ... $(window).load(function() { //Foundation Joyride (Tour) $("#tour").joyride({ 'cookieMonster': true, 'cookieName': 'JoyRide', 'cookieDomain': 'mydomain.co.uk/', 'postRideCallback' : function () { $(this).joyride('destroy'); }, cookieMonster: false }); }); 回答1: Got it working at last and it turned out to be the order in