jquery - nivoslider 中的数字而不是点

标签 jquery nivo-slider

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

最佳答案

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

.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> 内动态生成的。 '项目符号' 但从视口(viewport)中删除 text-indent 。我们只需通过注释我建议的行来引入它们即可。

祝你编码愉快。

关于jquery - nivoslider 中的数字而不是点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8555598/

相关文章:

javascript - 如何优化无缝图像网格? CSS 还是 Jquery?图像优化?

javascript - 使用 javascript/jquery 循环 json 对象

javascript - 使用 jQuery 制作 Nivo slider 方向导航箭头淡入

css - 定位上一个和下一个按钮(在 NivoSlider 上)

javascript - 通过 html 和 css 中选中的单选按钮公开额外的表单字段

c# - window.onbeforeunload 在文本框中丢失值

php - 数据表ajax处理中的复选框

nivo-slider - 警告 : Encountered two children with the same key

jquery - firebug 中偶尔会显示 "Image corrupt or truncated"

jquery - 当 Chrome 框架不存在/禁用时,IE8 中的图像链接失败