Search code examples
javascriptjquerybxslider

bxSlider: add a css class only on last slide


Is it possible to add a class only on last slide and remove the class again when the slider start to loop with first slide?


Solution

  • http://bxslider.com/options look Callbacks section in there and use it. The answer is yes you able to add or remove class to current.