2

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 2

7
$(function () {
    $("#slides").slidesjs({
        play: {
            active: false, /* this hides the stop/play button */
            auto: true,
            interval: 5000,
            swap: true
        }
    });
});
0

use display none property of css

for example if your play button class is ".play" then put in css

.play
{
 display:none;
}
2
  • 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.
    – tkbx
    Mar 23, 2013 at 13:59
  • 2
    Turns out it's play: {active: false} in the jQuery
    – tkbx
    Mar 23, 2013 at 16:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.