Custom controls from outside of the slider

  • The Velvet Underground & Nico
    The Velvet Underground
  • White Light / White Heat
    The Velvet Underground
  • The Velvet Underground
    The Velvet Underground
  • Loaded
    The Velvet Underground

Below are two <a> tags which live outside of the slider

Jump to next slide

Return to previous slide

jQuery: 
$(function(){
  var slider = $('#slider1').bxSlider({
    controls: false
  });

  $('#go-prev').click(function(){
    slider.goToPreviousSlide();
    return false;
  });

  $('#go-next').click(function(){
    slider.goToNextSlide();
    return false;
  });
});

Note: the slider must be assigned to a variable to use the public functions.