Html
    Css
    Js

    
                        
* {
	padding:0px;
	margin:0px;
}
a {
	text-decoration:none;
}
ul {
	list-style:outside none none;
}
.slider,.slider-panel img,.slider-extra {
	width:650px;
	height:413px;
}
.slider {
	text-align:center;
	margin:30px auto;
	position:relative;
}
.slider-panel,.slider-pre,.slider-next {
	position:absolute;
	z-index:8;
}
.slider-panel {
	position:absolute;
}
.slider-panel img {
	border:none;
}
.slider-extra {
	position:relative;
}
.slider-next {
	left:100%;
	margin-left:-28px;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

jQuery图片轮播(原创)

更新时间:2021-12-03 01:02:54

简单jq写法实现图片轮播,不需要插件

0