slides.js has virtually no documentation. I've got it set to automatically change the slide, and have the prev/next buttons hidden. Is there a way to also hide the "stop/play" button?
2 Answers
$(function () {
$("#slides").slidesjs({
play: {
active: false, /* this hides the stop/play button */
auto: true,
interval: 5000,
swap: true
}
});
});
use display none property of css
for example if your play button class is ".play"
then put in css
.play
{
display:none;
}
-
I don't think I've got a play button class, I've just got the images inside
<div id="slides">
inside<div class="container">
. I've tried.play
,.slidesjs-play
, etc.– tkbxMar 23, 2013 at 13:59 -
2