Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Anything Slider AutoPlay

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #34836

    I’m not having any luck getting the autoplay to work for the Anything Slider…I’ve added this code to header.php

    $(function(){
    $(‘#slider’).anythingSlider(); // add any non-default options here
    // Slideshow options
    autoPlay: true;
    });

    But its not playing automatically at http://www.vigourdynamicfitness.com.au…can anyone please help?

    #89335
    Remeste
    Member

    I think the “;” at the end of autoPlay: true is invalid.

    autoPlay : true,

    Could be completely wrong though :P

    #89338

    I’ve given that a go..it breaks the code and positions the photos into a vertical scrolling bar…

    #89339
    bananablues
    Participant

    The correct coding:

    $(function(){
    $('#slider').anythingSlider({
    autoPlay: true
    });
    });
    #89340
    bananablues
    Participant

    $(function(){
    $(‘#slider’).anythingSlider({
    autoPlay: true
    });
    });

    #89350
    Mottie
    Member

    @Ebony_McLaughlin! LOL Oops, I just realized that there was an error in the code I replied to you with previously, but @bananablues has it correct above. So no need to be repetitive :)

    #89394

    SPOT ON! Thanks you two =D

    #105039
    Kinetic
    Member

    that works great but anytime I try to add theme: metallic or anything else it breaks the whole slider (yeah Im brand new to jquery )

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Back End’ is closed to new topics and replies.