猫头鹰旋转木马根本不工作 [英] Owl Carousel not working at all

查看:128
本文介绍了猫头鹰旋转木马根本不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对,我正在为一个朋友在网站上工作,我正试图让一个旋转木马工作。不过,看起来,不管我尝试什么。



标记:

编辑:问题是jQuery版本,与10.2不兼容,降级到10.1版本。

Right, I'm working on a site for a friend, and I'm trying to get a carousel working. However, seemingly, no matter what I try.

Markup: http://pastebin.com/PjftpnJx

Folder structure:

The Owl CSS files had their extension changed to .less and are included inside the main LESS file which I compile into CSS, which means that the files are there.

解决方案

Found your problem, you won't believe how simple. You just forgot to include the Owl Carousel stylesheet

<link rel="stylesheet" href="owl-carousel/owl.carousel.css">
<link rel="stylesheet" href="owl-carousel/owl.theme.css">

Working Demo Here

Edit: the problem is jQuery version, not working with 10.2, downgrade to 10.1 works.

这篇关于猫头鹰旋转木马根本不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆