• 手机版

    扫码体验手机版

  • 微信公众号

    扫码关注公众号

国内首家协议开发

软芯音视解码保护平台

在线
客服

发布
需求

在线
聊天

天盟
APP

天盟APP下载

关注
微信

微信扫一扫访问
顶部

轮播图下面点击的li(圆),点击后的顺序,求大神解答该怎么做。

轮播图下面点击的圆,比如当前是轮播到第二个圆(第几个圆代表第几个图),当我点击第一个圆的时候,图片切换到了第一张图,但是下一个执行的应该是第二张图,可是它执行的却是第三个。因为鼠标点击后的那个没记录下来吗?该怎么弄?
代码如下:




               

#scroll{       
        position:relative;
        width: 1000px;
        margin: 0 auto;
        height: 300px;
        overflow:hidden;
}
#scroll_top{
        width: 1000px;
        height: 300px;
}
#scroll_bottom{
        width: 1000px;
        height: 74px;
        line-height: 74px;
        position: absolute;
        bottom:-1px;
        background:url(../img/image-mask.png) no-repeat;
}
#scroll_bottom ul{
        position: absolute;
        right: 71px;
        bottom:20px;
        list-style: none;
}
#scroll_bottom li{
        width:8px;
        height:8px;
        float: left;
        margin-right:14px;
        background: #BFBFBF;
        border:1px solid #BFBFBF;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        cursor: pointer;
}



                       
                               
                                       

                                       

                                       

                               

                               
                                       

                                            

  •                                         

  •                                         

  •                                        

免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。

版权声明:作者保留权利,不代表天盟立场。

使用道具 举报

发新帖

发布任务需求已有1031167位用户正在使用天盟网服务

发布分类: *
任务预算: *
需求内容: *
手机号码: *
任务商家报价为
  • 预算价 :
  • 成交价 :
  • 完工期 :
  • 质保期 :

* 最终任务项目以服务商报价、双方协商为准!