Jquery caroufredsel script error 'is not a function'

我的梦境 提交于 2019-12-11 03:33:00

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!