I am trying to use Orbit, and Foundation 6, without success. The pictures appear stacked one on top of the other, and do not change. I get a Javascript Error message in the Error Console.
If I remove the references to Orbit, the javascript error message does not appear.
Timestamp: 18/07/2016 12:51:46 Error: TypeError: We're sorry, object is not a valid parameter. You must use a string representing the method you wish to invoke. Source File: http://lf/bower_components/foundation-sites/js/foundation.core.js Line: 284
The bottom of the page, where the js files are called, is
</script>
<!--<script src="js/vendor/jquery.js"></script>
<script src="js/foundation/foundation.js"></script>-->
<script src='bower_components/foundation-sites/js/foundation.core.js'></script>
<script src='bower_components/foundation-sites/js/foundation.orbit.js'></script>
<script>
/*
$(document).foundation();
*/
$(document).foundation({
orbit: {
animation: 'slide'
}
});
</script>
All the paths to the .js code are correct.
I am guessing that I have an incorrect version of something in there, but I don't know what.
Does anyone have any suggestions?