Skip to content

Instantly share code, notes, and snippets.

@rdallaire
Created July 28, 2014 21:07
Show Gist options
  • Save rdallaire/c81e9a00acc56e72bc2e to your computer and use it in GitHub Desktop.
Save rdallaire/c81e9a00acc56e72bc2e to your computer and use it in GitHub Desktop.
onSlideAfter: function (currentSlideNumber, totalSlideQty, currentSlideHtmlObject) {
$('.active-slide').removeClass('active-slide');
$('.bxslider li').eq(currentSlideHtmlObject + 1).addClass('active-slide');
};
onSliderLoad: function () {
$('.bxslider li').eq(1).addClass('active-slide');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment