Manual Coda-Slider (not plugin) jQuery Issue/Errors
-
I am attempting to manually set up the coda-slider 2.0 jQuery plugin on my site.
It appears that the PHP generation and appropriate HTML are correct, but I can tell the JS isn’t working for two reasons. First, the panels of the slider all load at once (visible) on top of each other. Second, the Chrome Inspector is giving me the following two JS errors:
Uncaught TypeError: Property '$' of object [object DOMWindow] is not a functionin the coda-slider js script, and:
Uncaught TypeError: Object [object Object] has no method 'codaSlider'
in my own script. This second error also has the following reported callback errors in the actual jquery script, which is version 1.7.1:f.Callbacks.n f.Callbacks.o.fireWith e.extend.ready c.addEventListener.BMy script is as follows:
jQuery(document).ready(function($) { $('#coda-slider-1').codaSlider({ autoSlide: true, autoSlideInterval: 4000, autoSlideStopWhenClicked: true }); });I have enqueued all of these scripts according to the appropriate WP methods.
Questions: Is this a conflict between coda-slider and the enqueued version of jquery? Is this a noConflict issue, because I thought I had accounted for that? If it’s neither of these, what could possibly be the issue? I have no other scripts on the site so far.
Thanks!
The topic ‘Manual Coda-Slider (not plugin) jQuery Issue/Errors’ is closed to new replies.