js jquery做的图片连续滚动代码

2020-05-23 06:10:41易采站长站整理

       }else{ 
       setTimeout(“autoMarqueeStart()”,time); 
       } 

autoMarqueeStart(); 
</script> 
<style> 
*{margin:0;padding:0;border:0} 
li{float:left;} 
ul{list-style-type:none;} 
.banner{height:228px;width:568px;overflow:hidden;} 
.bannerbutton li{ 
       width:23px; 
       height:22px; 
       background:url(/images/index/b2.gif) no-repeat; 
       cursor:pointer; 
       line-height:22px; 
       text-align: center; 
       color: #fff; 
       font-weight: bold; 

.banner .img li{float:left;} 
.banner .img { 
       position: relative;width:5600px; 

body,td,th { 
       font-size: 12px; 

body { 
       margin-left: 0px; 
       margin-top: 0px; 
       margin-right: 0px; 
       margin-bottom: 0px; 

</style> 
<div class=”banner”> 
        <ul class=”bannerbutton” style=”position:absolute;z-index:2;top:200px;;left:10px;”> 
                                   <li num=1 style=”background:url(/images/index/b2.gif);”>1</li> 
                                   <li num=2>2</li> 
                                   <li num=3>3</li> 
                                   <li num=4>4</li>