zurb / joyride

jQuery feature tour plugin.
http://www.zurb.com/playground/jquery-joyride-feature-tour-plugin
1.42k stars 241 forks source link

Uncaught ReferenceError: Foundation is not defined #225

Closed arifhussain353 closed 7 years ago

arifhussain353 commented 7 years ago

I include foundation.joyride.js script tag after jquery 3.1.1 but it through error Uncaught ReferenceError: Foundation is not defined.I am not using foundation.Is it not work with JQuery ? Or is there issue with JQuery version ? Sequence of files included :

      <link rel=" stylesheet" type="text/css" href="{{ URL::to('no_package_manger/joyride/dist/foundation.joyride.min.css')}}">
  <script type="text/javascript" src="https://code.jquery.com/jquery-3.1.1.js"></script>
   <script src="{{ URL::to('no_package_manger/joyride/dist/foundation.joyride.min.js')}}"></script>

I download files from here

Owlbertz commented 7 years ago

Hi @arifhussain353, you downloaded the (old) version 2 of Joyride, which needs jQuery as well as Foundation for sites in order to run. The latest version 3 of Joyride also has a standalone version (without the need to include Foundation), which you can find in the dist folder of this repository. You can have a look on version 3 on the Joyride demo page.

arifhussain353 commented 7 years ago

@Owlbertz Thank you .