<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>愛芳芳-兼容IE8的jQuery轮播图插件</title>
<link rel="stylesheet" href="dist/pageSwitch.min.css">
<style type="text/css">
*{
padding: 0;
margin: 0;
}
html,body{
height: 100%;
}
#container {
width: 100%;
height: 800px;
overflow: hidden;
}
.sections,.section {
height:100%;
}
#container,.sections {
position: relative;
}
.section {
background-color: #000;
background-size: cover;
background-position: 50% 50%;
text-align: center;
color: white;
}
#section0 {
background-image: url('images/1.jpg');
}
#section1 {
background-image: url('images/2.jpg');
}
#section2 {
background-image: url('images/3.jpg');
}
#section3 {
background-image: url('images/4.jpg');
}
</style>
</head>
<body>
<div id="container">
<div class="sections">
<div class="section" id="section0"><h3>this is the page1</h3></div>
<div class="section" id="section1"><h3>this is the page2</h3></div>
<div class="section" id="section2"><h3>this is the page3</h3></div>
<div class="section" id="section3"><h3>this is the page4</h3></div>
</div>
</div>
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="dist/pageSwitch.min.js"></script>
<script>
$("#container").PageSwitch({
direction:'horizontal',
easing:'ease-in',
duration:2000,
autoPlay:true,
loop:'false'
});
</script>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
<p>来源:<a href="http://124.223.118.176/" target="_blank">愛芳芳</a></p>
</div>
</body>
</html>
愛芳芳
- 粉丝: 1225
- 资源: 45
最新资源
- (源码)基于Django和OpenCV的智能车视频处理系统.zip
- (源码)基于ESP8266的WebDAV服务器与3D打印机管理系统.zip
- (源码)基于Nio实现的Mycat 2.0数据库代理系统.zip
- (源码)基于Java的高校学生就业管理系统.zip
- (源码)基于Spring Boot框架的博客系统.zip
- (源码)基于Spring Boot框架的博客管理系统.zip
- (源码)基于ESP8266和Blynk的IR设备控制系统.zip
- (源码)基于Java和JSP的校园论坛系统.zip
- (源码)基于ROS Kinetic框架的AGV激光雷达导航与SLAM系统.zip
- (源码)基于PythonDjango框架的资产管理系统.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
- 1
- 2
前往页