【问题标题】:numbers instead of points in nivoslider数字而不是 nivoslider 中的点
【发布时间】:2011-12-18 23:11:22
【问题描述】:

有谁知道如何在 nivoslider 中将点更改为数字? 我尝试查看 css 和代码,但找不到任何东西。 谢谢

【问题讨论】:

    标签: jquery nivo-slider


    【解决方案1】:

    只需评论来自 Nivo CSS 文件的 text-indent 和图像 background:

    .theme-default .nivo-controlNav a {
        /*background: url("bullets.png") no-repeat scroll 0 0 transparent;*/
        border: 0 none;
        display: block;
        float: left;
        height: 22px;
        margin-right: 3px;
       /* text-indent: -9999px; */
        width: 22px;
    }
    

    解释:

    数字在<a>“子弹”内动态生成,但使用text-indent 从视口中删除。我们只需要通过评论我建议的行来引入它们。

    编码愉快。

    【讨论】:

      猜你喜欢
      • 2012-06-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-20
      • 1970-01-01
      相关资源
      最近更新 更多