• 手机版

    扫码体验手机版

  • 微信公众号

    扫码关注公众号

国内首家协议开发

软芯音视解码保护平台

在线
客服

发布
需求

在线
聊天

天盟
APP

天盟APP下载

关注
微信

微信扫一扫访问
顶部

哪位大神帮看看 这个轮播图的问题出在哪?

程序代码如下:

*{
        margin:0;
        padding:0;
}
#container{
        height:220px;
        width:650px;
        position:relative;
        overflow:hidden;
        margin:0 auto;
}
#container ul{
        position:absolute;
        top:0;
        left:0;
}


#container ul li{
        list-style:none;
        float:left;
       
}#container ol li{
        list-style:none;
        float:left;
        height:20px;
        width:20px;
        background-color:#F9C;
        margin-left:10px;
        text-align:center;
        cursor:pointer;
        border:1px solid #F06;
}
#container ol {
        position:absolute;
        bottom:15px;
        right:20px;
        z-index:500;
}
#container ol .active{
        background-color:#C09;
}

<script>
window.onload=function()
{
        var odiv=document.getElementById('container');
        var abtn=odiv.getElementsByTagName('ol')[0].getElementsByTagName('li');
        var oul=odiv.getElementsByTagName('ul')[0];
        var now=0;

        for(var i=0;i

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

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

使用道具 举报

全部参与1

你的图片宽度上在调动下,就可以了 这实际跟你写的Css图片中有关,我觉得应该是你的图片像素 应该不是美工给的 是自己直接量取的

使用道具 举报

发新帖

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

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

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