Twitter bootstrap JSIDLE转盘猫头鹰不工作
我正在尝试复制猫头鹰转盘和灯箱(Prettypto),它们位于:Twitter bootstrap JSIDLE转盘猫头鹰不工作,twitter-bootstrap,carousel,lightbox,Twitter Bootstrap,Carousel,Lightbox,我正在尝试复制猫头鹰转盘和灯箱(Prettypto),它们位于: http://jsfiddle.net/gxG87/129/ 这是我的代码: $(document).ready(function () { $("a[rel^='prettyPhoto']").prettyPhoto(); $(".owl-slider").owlCarousel({ autoPlay: false, //Set AutoPlay to 3 s
http://jsfiddle.net/gxG87/129/
这是我的代码:
$(document).ready(function () {
$("a[rel^='prettyPhoto']").prettyPhoto();
$(".owl-slider").owlCarousel({
autoPlay: false, //Set AutoPlay to 3 seconds
items: 4,
itemsDesktop: [1199, 3],
itemsDesktopSmall: [979, 3]
});
});
在我的网站(图片部分):
我检查了控制台,它显示了两个JS错误。但坦率地说,作为一个新手,我不理解他们:
ReferenceError: jQuery is not defined jquery.prettyPhoto.js:7:0
TypeError: $(...).prettyPhoto is not a function
请告知 jQuery未定义-这意味着您没有在页面中正确包含jQuery。它缺失或src属性不正确。我就是这样包含它的(和往常一样):