Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
slides.js 几乎没有文档。我已将其设置为自动更改幻灯片,并隐藏上一个/下一个按钮。有没有办法隐藏“停止/播放”按钮?
$(function () { $("#slides").slidesjs({ play: { active: false, /* this hides the stop/play button */ auto: true, interval: 5000, swap: true } }); });
使用 css 的 display none 属性
例如,如果您的播放按钮类".play"然后放入 css
".play"
.play { display:none; }