基于jQuery的焦点轮播demo
- jQuery Carousel Demo
最近在学习javaScript最流行之一的类库:jQuery,学习之余,写了项目中经常会用到的焦点轮播,请直接看下面代码。
目录
CSS部分
*{
margin:0;
padding:0;
list-style:none;
}
img{
border:none;
}
#banner{
height:320px;
width:852px;
position:relative;
margin:30px auto;
}
.imgs li{
height:320px;
width:852px;
position:absolute;
left:0;
top:0;
}
.nav