开发者

How to make deck.js presentations go forward when clicking

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>)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜