added autoSlide option (#59), clear out list of options in index.html's initialize call

This commit is contained in:
Hakim El Hattab
2012-07-15 19:21:47 -04:00
parent de2a95d0ac
commit cd3fc43e77
3 changed files with 62 additions and 33 deletions

View File

@ -279,29 +279,14 @@ function linkify( selector ) {
// event.previousSlide, event.currentSlide, event.indexh, event.indexv
} );
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
// Display controls in the bottom right corner
controls: true,
// Display a presentation progress bar
progress: true,
// If true; each slide will be pushed to the browser history
history: true,
// Loops the presentation, defaults to false
loop: false,
// Flags if mouse wheel navigation should be enabled
mouseWheel: true,
// Apply a 3D roll to links on hover
rollingLinks: true,
// UI style
theme: query.theme || 'default', // default/neon/beige
// Transition style
transition: query.transition || 'default' // default/cube/page/concave/linear(2d)
});
} );