1

i found this:

impress().next();
impress().prev();
impress().goto(10);

but i dont know how to use it? is there any way to implement two simple buttons which go one slide further or back?

user1464175
  • 155
  • 2
  • 11

1 Answers1

3

Alright I figured it out:

<button id="prev"></button>
<button id="next"></button>


$("#next").click(function () {
   api.next();
});

$("#prev").click(function () {
   api.prev();
});

That's it, easier than i thought it is.

user1464175
  • 155
  • 2
  • 11