How do I configure deck.js so it goes to the next slide when I click anywhere on the page? Very much like Powerpoint or Impress does it.
Asked
Active
Viewed 403 times
2 Answers
5
The quickest way without using the navigation module:
$(function() {
$.deck('getContainer').click(function() {
$.deck('next');
});
});
imakewebthings
- 3,388
- 1
- 23
- 18
0
What I used in the end and was the solution which required the least thinking effort:
Including the deck.navigation extension and applying the deck-next-link class to my deck-container (<body>)
knittl
- 246,190
- 53
- 318
- 364