<span style="font-size:14px;"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>图片轮播 </title>
<style type="text/css">
body, div, ul, li, a, img {
margin: 0;
padding: 0;
}
ul, li {
list-style: none;
}
a {
text-decoration: none;
}
#wrapper {
position: relative;
margin: 30px auto;
width: 400px;
height: 200px;
}
#banner {
position: relative;
width: 400px;
height: 200px;
overflow: hidden;
}
.imgList {
position: relative;
width: 2000px;
height: 200px;
z-index: 10;
overflow: hidden;
}
.imgList li {
float: left;
display: inline;
}
#prev,
#next {
position: absolute;
top: 80px;
z-index: 20;
cursor: pointer;
opacity: 0.2;
filter: alpha(opacity=20
用jQuery实现焦点图轮播(底部是小圆点)
最新推荐文章于 2024-04-23 09:41:53 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)