Search code examples
jqueryanythingslider

jquery AnythingSlider control


I need to have a external link as a navigation to next and prev slide.

I thougt that the "appendForwardTo" would work but I quess that I´m doing something wrong...

$('.quiz-items a').click().goForward()

But just get

Uncaught TypeError: Object [object Object] has no method 'goForward'

Solution

  • My guess would be that you need to do something similar to this

    $('.quiz-items a').click(function(){
        $('#slider1').data('AnythingSlider').goForward(); 
    });