我正在使用 super 幻灯片插件:https://github.com/nicinabox/superslides
现在我想向分页添加标签。
因此,结果应该是标准分页,当您将鼠标悬停在某个项目上时,仅显示标签/标题。
我不知道在代码中的哪里添加这个,希望你能帮助我。
最佳答案
我希望这对你有用。 https://github.com/nicinabox/superslides/issues/75
我会将 .slides-pagination 的当前 css 更改为:
.slides-pagination a {
width: 12px;
height: 12px;
vertical-align: middle;
*vertical-align: auto;
zoom: 1;
margin: 20px;
overflow: hidden;
text-indent: -100%;
}
当前由你决定...记住将第 378 行(在 js 中)中的内容更改为: 'text': 'test' + href
关于javascript - 分页中的标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18659549/