better transition names, fix background images in vertical slides
This commit is contained in:
@ -93,13 +93,13 @@ var Reveal = (function(){
|
||||
theme: null,
|
||||
|
||||
// Transition style
|
||||
transition: 'default', // default/cube/page/concave/zoom/linear/fade/none
|
||||
transition: 'default', // none/fade/slide/convex/concave/zoom
|
||||
|
||||
// Transition speed
|
||||
transitionSpeed: 'default', // default/fast/slow
|
||||
|
||||
// Transition style for full page slide backgrounds
|
||||
backgroundTransition: 'default', // default/linear/none
|
||||
backgroundTransition: 'default', // none/fade/slide/convex/concave/zoom
|
||||
|
||||
// Parallax background image
|
||||
parallaxBackgroundImage: '', // CSS syntax, e.g. "a.jpg"
|
||||
@ -2000,7 +2000,7 @@ var Reveal = (function(){
|
||||
}
|
||||
|
||||
if( includeAll || h === indexh ) {
|
||||
toArray( backgroundh.querySelectorAll( 'section' ) ).forEach( function( backgroundv, v ) {
|
||||
toArray( backgroundh.querySelectorAll( '.slide-background' ) ).forEach( function( backgroundv, v ) {
|
||||
|
||||
if( v < indexv ) {
|
||||
backgroundv.className = 'slide-background past';
|
||||
|
Reference in New Issue
Block a user