# 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).
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
高校教材系统是一个基于JavaEE技术栈开发的教材管理系统,前端使用了JSP(JavaServer Pages)技术。JSP是一种动态网页技术,可以将Java代码嵌入HTML页面中,使开发者可以更加方便地生成动态内容。其优点包括易学易用、与Java后端代码无缝集成、良好的跨平台性和强大的功能扩展性。 在后端开发方面,系统使用了Servlet技术来处理HTTP请求和生成响应。Servlet是基于Java的服务器端技术,能够处理来自客户端的请求,并生成响应。其优点包括强大的灵活性、良好的扩展性和与JavaEE平台的无缝集成。 数据库方面,系统采用了MySQL 8.x作为后端数据库。MySQL是一个开源的关系型数据库管理系统,具有高性能、可靠性强、易于使用和管理的优点。 为了提供更好的用户体验和便捷的教材管理功能,系统将JSP和Servlet技术与MySQL数据库相结合,实现了一个功能丰富、高效运行的高校教材管理系统。
资源推荐
资源详情
资源评论
收起资源包目录
高校教材系统(jsp+servlet+mysql8.x).zip (588个子文件)
alipay_md5.asp 11KB
alipay_function.asp 6KB
alipay_notify.asp 5KB
alipay_service.asp 2KB
Info.class 23KB
CommDAO.class 16KB
MainCtrl.class 13KB
PageManager.class 6KB
Upload.class 3KB
StrUtil.class 3KB
SetChar.class 3KB
QRCodeUtil.class 2KB
QRCode.class 1KB
.classpath 606B
org.eclipse.wst.common.component 489B
org.eclipse.wst.jsdt.ui.superType.container 49B
bootstrap.css 174KB
bootstrap.min.css 141KB
common.css 118KB
ionicons.css 56KB
ionicons.min.css 50KB
font-awesome.css 37KB
font-awesome.min.css 30KB
animate.css 25KB
style.css 21KB
default.css 21KB
animate.min.css 17KB
layout.css 15KB
magnific-popup.css 7KB
houtai.css 4KB
owl.carousel.css 4KB
datepicker.css 4KB
datepicker.css 4KB
div.css 4KB
divqt.css 4KB
owl.carousel.min.css 3KB
qq.css 3KB
css.css 3KB
CssAdmin.css 3KB
simple.css 2KB
custom.css 2KB
css.css 1KB
owl.theme.default.css 1KB
owl.theme.green.css 1KB
owl.theme.green.min.css 1013B
owl.theme.default.min.css 1013B
prettify.css 973B
index.css 282B
WdatePicker.css 158B
jquery-ui-1.9.2.cust 30KB
fontawesome-webfont.eot 162KB
ionicons.eot 118KB
2.gif 108KB
4.gif 38KB
alipay.gif 35KB
static.gif 35KB
5.gif 30KB
3.gif 23KB
1.gif 21KB
ding.gif 13KB
35.gif 13KB
42.gif 13KB
cai.gif 13KB
40.gif 10KB
1333963445546.gif 8KB
18.gif 8KB
19.gif 8KB
1333963398718.gif 8KB
11.gif 8KB
logo.gif 8KB
32.gif 7KB
49.gif 6KB
29.gif 6KB
97.gif 5KB
65.gif 5KB
31.gif 5KB
46.gif 5KB
57.gif 5KB
45.gif 5KB
8.gif 5KB
alipay_bwrx.gif 5KB
43.gif 4KB
33.gif 4KB
68.gif 4KB
26.gif 4KB
14.gif 4KB
7.gif 4KB
51.gif 4KB
10.gif 4KB
47.gif 4KB
72.gif 4KB
6.gif 3KB
94.gif 3KB
84.gif 3KB
41.gif 3KB
17.gif 3KB
9.gif 3KB
28.gif 3KB
ajax-loader.gif 3KB
50.gif 3KB
共 588 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
java奋斗者
- 粉丝: 1058
- 资源: 178
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功