},
pageTransition: function (pageNr) {
- var $this=this;
+ var $this = this;
if (this.fluidbook.pad.enabled) {
this.transitionAxis = this.fluidbook.pad.getTransitionAxis(this.fluidbook.currentPage, page);
} else {
}
if (this.fluidbook.support.transitions3dacc) {
- this.fluidbook.zoom.resetZoom(function(){
+ this.fluidbook.zoom.resetZoom(function () {
return $this.pageTransition3DFlip(pageNr);
});
return true;
},
centerBookEnabled: function () {
- return !!this.fluidbook.datas.centerBook && !this.fluidbook.displayOnePage && $('.tabslink').length === 0 && !this.fluidbook.support.transitions3dacc;
+ return !!this.fluidbook.datas.centerBook && !this.fluidbook.displayOnePage && $('.tabslink').length === 0;
},
centerBook: function (center, animationDuration) {
var animate = animationDuration != undefined && animationDuration > 0;
- var move = $("#center-fluidbook,#center-shadow");
+ var move = $("#center-fluidbook,#center-shadow,#flip3dcontainer");
var currentLeft = $("#center-fluidbook").data('left');
var left = 0;
if (center == undefined) {
@import "slider";
/* Center */
-#center-fluidbook, #center-shadow {
+#center-fluidbook, #center-shadow, #flip3dcontainer {
position: absolute;
top: 0;
left: 0;