# Owl Carousel 2
Touch enabled [jQuery](https://jquery.com/) plugin that lets you create a beautiful, responsive carousel slider. **To get started, check out https://owlcarousel2.github.io/OwlCarousel2/.**
## Quick start
### Install
This package can be installed with:
- [npm](https://www.npmjs.com/package/owl.carousel): `npm install --save owl.carousel` or `yarn add owl.carousel jquery`
- [bower](http://bower.io/search/?q=owl.carousel): `bower install --save owl.carousel`
Or download the [latest release](https://github.com/OwlCarousel2/OwlCarousel2/releases).
### Load
#### Webpack
Add jQuery via the "webpack.ProvidePlugin" to your webpack configuration:
const webpack = require('webpack');
//...
plugins: [
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
'window.jQuery': 'jquery'
}),
],
//...
Load the required stylesheet and JS:
```js
import 'owl.carousel/dist/assets/owl.carousel.css';
import 'owl.carousel';
```
#### Static HTML
Put the required stylesheet at the [top](https://developer.yahoo.com/performance/rules.html#css_top) of your markup:
```html
<link rel="stylesheet" href="/node_modules/owl.carousel/dist/assets/owl.carousel.min.css" />
```
```html
<link rel="stylesheet" href="/bower_components/owl.carousel/dist/assets/owl.carousel.min.css" />
```
**NOTE:** If you want to use the default navigation styles, you will also need to include `owl.theme.default.css`.
Put the script at the [bottom](https://developer.yahoo.com/performance/rules.html#js_bottom) of your markup right after jQuery:
```html
<script src="/node_modules/jquery/dist/jquery.js"></script>
<script src="/node_modules/owl.carousel/dist/owl.carousel.min.js"></script>
```
```html
<script src="/bower_components/jquery/dist/jquery.js"></script>
<script src="/bower_components/owl.carousel/dist/owl.carousel.min.js"></script>
```
### Usage
Wrap your items (`div`, `a`, `img`, `span`, `li` etc.) with a container element (`div`, `ul` etc.). Only the class `owl-carousel` is mandatory to apply proper styles:
```html
<div class="owl-carousel owl-theme">
<div> Your Content </div>
<div> Your Content </div>
<div> Your Content </div>
<div> Your Content </div>
<div> Your Content </div>
<div> Your Content </div>
<div> Your Content </div>
</div>
```
**NOTE:** The `owl-theme` class is optional, but without it, you will need to style navigation features on your own.
Call the [plugin](https://learn.jquery.com/plugins/) function and your carousel is ready.
```javascript
$(document).ready(function(){
$('.owl-carousel').owlCarousel();
});
```
## Documentation
The documentation, included in this repo in the root directory, is built with [Assemble](http://assemble.io/) and publicly available at https://owlcarousel2.github.io/OwlCarousel2/. The documentation may also be run locally.
## Building
This package comes with [Grunt](http://gruntjs.com/) and [Bower](http://bower.io/). The following tasks are available:
* `default` compiles the CSS and JS into `/dist` and builds the doc.
* `dist` compiles the CSS and JS into `/dist` only.
* `watch` watches source files and builds them automatically whenever you save.
* `test` runs [JSHint](http://www.jshint.com/) and [QUnit](http://qunitjs.com/) tests headlessly in [PhantomJS](http://phantomjs.org/).
To define which plugins are build into the distribution just edit `/_config.json` to fit your needs.
## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md).
## Roadmap
Please make sure to check out our [Roadmap Discussion](https://github.com/OwlCarousel2/OwlCarousel2/issues/1756).
## License
The code and the documentation are released under the [MIT License](LICENSE).
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
基于ssm的信息类课程教学知识管理系统开发 采用 ssm框架技术,java语言,mysql数据库 前台+后台的模式开发 前台: (1)用户注册(手机号,用户名,姓名,登录用户名,密码,备注) (2)用户登录,找回密码,设置新密码 (3)网站公告查看 (4)课程查看(注册用户登录后,可以查看非公开课,用户不登录,可以查看公开课),点击查看课程详情,课程名称,授课专业,课程简介等,可(5)以下载课程,以word或者PDF形式 (6)知识卡片查看:点击课程后,可以查看该课程里的知识卡片,知识卡片分为文本,图片,视频3种类型的知识卡片。登录后可以收藏知识卡片 后台: 管理员 (1)管理员管理 (2)教师信息管理(姓名,学校,职级,绑定邮箱,电话,用户名,密码等) (3)注册用户审核 (4)网站公告管理 (5)课程信息管理(可以上传课程,word或者pdf形式) (6)知识卡片管理 (7)系统管理 教师 (8)个人资料修改 (9)创建课程 (10)创建知识卡片 注册用户 (1)个人资料修改 (2)我收藏的知识卡片
资源推荐
资源详情
资源评论
收起资源包目录
Java毕业设计:基于ssm的信息类课程教学知识管理系统开发(源码+录像演示).zip (825个子文件)
jquery-ui-1.9.2 26KB
alipay_md5.asp 11KB
alipay_function.asp 6KB
alipay_notify.asp 5KB
alipay_service.asp 2KB
Info.class 18KB
db.class 14KB
JiaoshixinxiController.class 10KB
KechengxinxiController.class 9KB
YonghuzhuceController.class 9KB
VeDate.class 9KB
ZhishikapianController.class 8KB
AllusersController.class 7KB
ShoucangjiluController.class 7KB
XinwentongzhiController.class 7KB
LiuyanbanController.class 7KB
YouqinglianjieController.class 6KB
PinglunController.class 6KB
Yonghuzhuce.class 4KB
StrUtil.class 4KB
Kechengxinxi.class 3KB
Jiaoshixinxi.class 3KB
LiuyanbanServerImpi.class 3KB
YouqinglianjieServerImpi.class 3KB
JiaoshixinxiServerImpi.class 3KB
ZhishikapianServerImpi.class 3KB
KechengxinxiServerImpi.class 3KB
YonghuzhuceServerImpi.class 3KB
XinwentongzhiServerImpi.class 3KB
AllusersServerImpi.class 3KB
Xinwentongzhi.class 2KB
Liuyanban.class 2KB
ShoucangjiluServerImpi.class 2KB
PinglunServerImpi.class 2KB
hsgloginController.class 2KB
Pinglun.class 2KB
Shoucangjilu.class 2KB
Md5.class 2KB
IndexController.class 2KB
SetChar.class 2KB
Zhishikapian.class 2KB
Youqinglianjie.class 2KB
Allusers.class 2KB
PageBean.class 1KB
PageInfo.class 1KB
testFilter.class 1KB
YouqinglianjieMapper.class 1KB
XinwentongzhiMapper.class 1020B
LiuyanbanMapper.class 1016B
JiaoshixinxiMapper.class 1009B
KechengxinxiMapper.class 1009B
ZhishikapianMapper.class 1009B
YonghuzhuceMapper.class 998B
CheckCode.class 922B
ShoucangjiluMapper.class 898B
AllusersMapper.class 898B
YouqinglianjieServer.class 896B
ZhishikapianServer.class 874B
JiaoshixinxiServer.class 874B
KechengxinxiServer.class 874B
YonghuzhuceServer.class 863B
LiuyanbanServer.class 860B
PinglunMapper.class 858B
XinwentongzhiServer.class 796B
AllusersServer.class 763B
ShoucangjiluServer.class 763B
PinglunServer.class 723B
Constant.class 674B
.classpath 1KB
org.eclipse.wst.common.component 619B
org.eclipse.wst.jsdt.ui.superType.container 49B
index.css 233KB
bootstrap.css 174KB
bootstrap.min.css 141KB
common.css 136KB
common.css 136KB
bootstrap.min.css 133KB
bootstrap.css 124KB
bootstrap.min.css 119KB
common.css 118KB
style.min.css 114KB
bootstrap.min.css 107KB
materialdesignicons.min.css 85KB
animate.css 71KB
ionicons.css 56KB
ionicons.min.css 50KB
font-awesome.css 37KB
font-awesome.min.css 30KB
animate.css 25KB
jquery-confirm.min.css 22KB
bootstrap-responsive.css 22KB
style.css 21KB
default.css 21KB
animate.min.css 17KB
bootstrap-responsive.min.css 16KB
layout.css 15KB
magnific-popup.css 7KB
owl.carousel.css 4KB
datepicker.css 4KB
div.css 4KB
共 825 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
心悦蛋糕
- 粉丝: 166
- 资源: 883
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功