Reputation: 87
My site is using the jQuery cycle2 plugin.
My problem is im pulling in external HTML chunks into my site to create a 'one page website'. The plugin works fine until i pull it in externally then it stops working. (doesnt function and pagination disappears).
The previous version of cycle plugin works fine but id rather use cycle2 as its better responsively (my site is responsive).
This is my dev site - see the 'OUR NEWS' PAGE - this is where problem occurs http://www.chaosdesign.com/production/chaos2013-2/
Thanks
i've tried pulling in the plugin with a .getScript within my ajax file with pulls all other JS into this page successfully but still nothing:
$.getScript( "../js/jquery.cycle2.js" )
Upvotes: 0
Views: 736
Reputation: 1463
It looks like you are loading the jquery.cycle2.js plugin before loading the jquery.min.js file, and you are getting the following error Uncaught ReferenceError: jQuery is not defined
You have <script src="http://malsup.github.com/jquery.cycle2.js"></script>
in your head
,
but you have <script src="js/jquery.min.js"></script>
in your footer
Just add the jquery.cycle2.js plugin after all the rest in the footer, and try that.
Upvotes: 1