treehouse : what would you like to learn today?
Web Design Web Development iOS Development

AnythingSlider not working properly

  • Hi,

    I've recently implemented anythingslider into my website (built on wordpress). The default slider works great.

    I was reading into the docs on github and want to use it exactly like this demo. http://jsfiddle.net/Mottie/ycUB6/76/.

    This is the perfect functionality for my site. However, when I copy the code over from jsfiddle to my site it doesn't work at all. Even though i already have the slider working on the page with this code:

    
      // DOM Ready
      $(function(){
        $('#sliderwho').anythingSlider({
          buildArrows         : false,
          buildStartStop      : false,
          autoPlay            : true, 
          mode                : "fade",
          appendControlsTo    : '.slider-nav',
          hashTags            : false,
          // easing              : "swing",   // Anything other than "linear" or "swing" requires the easing plugin or jQuery UI
        });
      });
    

    Any help would be great.

    Thanks

  • The demo you shared is using completely custom external navigation links whereas the code above is appending the controls., maybe you meant to share this demo?

  • Thanks