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?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.