问题
Working on a carousel lightbox tooltip demo and as far I can see in the jsfiddle created, the 'carouFredSel-script' isn't loaded. Error message in firebug:
$("#foo").carouFredSel is not a function
I don't see the problem. Can someone help?
回答1:
You were loading jQuery twice and you were loading the carusel in the wrong place i think http://jsfiddle.net/s39Kd/4/
回答2:
You loaded http://members.chello.nl/j.bemmel2/carousel/assets/js/tooltip/jquery.js
after jquery.carouFredSel-5.5.0-packed.js
was loaded, which creates a fresh jQuery object again under window
global object, and removed the one with caroured support.
Remove http://members.chello.nl/j.bemmel2/carousel/assets/js/tooltip/jquery.js
should work.
来源:https://stackoverflow.com/questions/9717447/jquery-caroufredsel-script-error-is-not-a-function