Figured out it was conflicting with a slider I have on the site. It’s called Flexslider. For some reason when the plugin is activated it breaks and says that .flexslider is not a function and that SyntaxHighlighter is not defined. Here is the code and error message:
$(function(){
SyntaxHighlighter.all();
});
$(window).load(function(){
$(‘#carousel’).flexslider({
animation: “slide”,
controlNav: false,
animationLoop: false,
slideshow: false,
itemWidth: 210,
itemMargin: 5,
asNavFor: ‘#slider’
});
$(‘#slider’).flexslider({
animation: “slide”,
controlNav: false,
animationLoop: false,
slideshow: false,
sync: “#carousel”,
start: function(slider){
$(‘body’).removeClass(‘loading’);
}
});
});
Uncaught ReferenceError: SyntaxHighlighter is not defined
Uncaught TypeError: $(…).flexslider is not a function