From a3d4afeeed1aec725a42cb404e62f89739c8faa3 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 6 Apr 2014 11:04:58 +0200 Subject: better transition names, fix background images in vertical slides --- index.html | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 993af44..25b0d76 100644 --- a/index.html +++ b/index.html @@ -188,14 +188,12 @@
You can select from different transitions, like:
- Cube -
- Page -
- Concave -
- Zoom -
- Linear -
- Fade -
+ Default -
None -
- Default
+ Fade -
+ Slide -
+ Concave -
+ Zoom
Pass reveal.js the backgroundTransition: 'slide'
config argument to make backgrounds slide rather than fade.
You can override background transitions per slide by using data-background-transition="slide"
.
@@ -401,7 +399,7 @@ function linkify( selector ) {
center: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
- transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
+ transition: Reveal.getQueryHash().transition || 'default', // none/fade/slide/convex/concave/zoom
// Parallax scrolling
// parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
--
cgit v1.2.3