Jquery caroufredsel script error 'is not a fun

2019-07-09 19:57发布

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?

2条回答
乱世女痞
2楼-- · 2019-07-09 20:56

You were loading jQuery twice and you were loading the carusel in the wrong place i think http://jsfiddle.net/s39Kd/4/

查看更多
beautiful°
3楼-- · 2019-07-09 20:56

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.

查看更多
登录 后发表回答