Frage

Get this console error when trying to implement JQuery Cycle2:

TypeError: e.fn.cycle is undefined

<script type="text/javascript"  src="jQuery1.7.1.js"></script>
    <script type="text/javascript"  src="margaretha/js/jquery.cycle2.carousel.min.js"></script>
    <script type="text/javascript" src="margaretha/js/jquery.cycle2.min.js"></script>

What could be wrong here?

War es hilfreich?

Lösung

The order of your javascripts maybe? "jquery.cycle2.min.js" should be included before "jquery.cycle2.carousel.min.js".

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top