Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

reveal.js: visibility of slide number

I'm trying to get a reveal.js presentation to print slide numbers. I've used the code in http://htmlcheats.com/reveal-js/reveal-js-tutorial-reveal-js-for-beginners/ and Changing the background-image style in Reveal.js with http://jsfiddle.net/dirkk0/asya4grv/ . Everything renders as expected except slide numbers.

I notice that despite having slideNumber: true in Reveal.initialize() there are no slide number visible in the http://jsfiddle.net/dirkk0/asya4grv/ rendering. I've also tried using Reveal.configure({ slideNumber: true }); within slide <section> but that didn't work either.

like image 834
user2105469 Avatar asked Nov 23 '25 04:11

user2105469


1 Answers

I can't find a full reveal.js CDN to test with, but from what I can tell the sliderNumber option does not work in the minified version (http://cdn.jsdelivr.net/reveal.js/2.5.0/js/reveal.min.js). I believe to use it you will need to download the full framework (both css and reveal.js files) then put them on your web server locally.

like image 52
EternalHour Avatar answered Nov 24 '25 16:11

EternalHour



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!