Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var slider = $('#Slider2').bxSlider({
- auto: false,
- speed: 1000,
- mode: 'horizontal'
- });
- $('#SlidePrev').click(function(){
- var slideNr = slider.getCurrentSlide() - 1;
- //slider.goToSlide(slideNr);
- slider.goToPreviousSlide();
- });
- $('#SlideNext').click(function(){
- var slideNr = slider.getCurrentSlide() + 1;
- slider.goToSlide(slideNr);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement