Center vertically slides in present mode and checkbox to disable transitions

This commit is contained in:
yflory
2017-05-11 10:58:33 +02:00
parent cf81b02096
commit 5d0535966c
6 changed files with 25 additions and 4 deletions

View File

@@ -184,6 +184,10 @@ define([
$('<div>', {'class': 'slideTitle'}).text(APP.title).appendTo($(el));
}
});
$content.removeClass('transition');
if (options.transition) {
$content.addClass('transition');
}
//$content.find('.' + slideClass).hide();
//$content.find('.' + slideClass + ':eq( ' + i + ' )').show();
$content.css('margin-left', -(i*100)+'vw');