我已经搜索了这个,但找不到我需要的一件事。我想在轨道滑块中使用我自己的子弹。
现在我的问题: - 如何添加我的项目符号(滑块正在工作,但我不知道如何添加项目符号)
- 我怎样才能让子弹改变?因为我为它被选中时制作了一个图像,在未选择它时制作了一个图像。
提前谢谢。
你可以在 orbit 中看到这些代码.css文件
.orbit-bullets li {
float: left;
margin-left: 5px;
cursor: pointer;
color: #999;
text-indent: -9999px;
background: url(/playground/playground/jquery-image-slider-plugin/orbit/bullets.jpg) no-repeat 4px 0;
width: 13px;
height: 12px;
overflow: hidden; }
.orbit-bullets li.active {
color: #222;
background-position: -8px 0; }
但它使用图像精灵。
如果每个图像都有单独的图像,请使用每个图像的背景属性来指定图像。