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.
The quickest way without using the navigation module:
$(function() {
$.deck('getContainer').click(function() {
$.deck('next');
});
});
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>
)
精彩评论