<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no"/>
<link rel="stylesheet" href="idangerous.swiper.css">
<script type="text/javascript" src="idangerous.swiper-2.1.min.js"> </script>
<style type="text/css">
.swiper-container, .swiper-slide {
width: 500px;
height: 200px;
}
</style>
<script type="text/javascript">
window.onload = function() {
var mySwiper = new Swiper('.swiper-container',{
//添加需要的选项:
mode:'horizontal',
loop: true
//等等..
});
};
</script>
</head>
<body>
<div class="swiper-container">
<div class="swiper-wrapper">
<!--First Slide-->
<div class="swiper-slide" style="height:667px; background-color: aqua">
<!-- 这里添加第一个HTML内容 -->
第一帧
</div>
<!--Second Slide-->
<div class="swiper-slide" style="height:667px; background-color: bisque">
<!-- 这里添加第二个HTML内容 -->
第二帧
</div>
<!--Third Slide-->
<div class="swiper-slide" style="height:667px; background-color: bisque">
<!-- 这里添加第三个HTML内容 -->
第三帧
</div>
<!--Etc..-->
</div>
</div>
</body>
</html>