Demo: #
Code: #
We can use the beforeFlip()
function to reset the flipbook zoom, when flipbook starts to flip.
<script>
//Supports version 2.0 and above
jQuery(function(){
DFLIP.defaults.beforePageChanged = function(flipbook){
flipbook.resetZoom();
}
});
</script>
<script>
//Supports version below 2.0
jQuery(function(){
DFLIP.defaults.beforeFlip = function(flipbook){
if(flipbook.zoomValue !==1)
flipbook.zoomValue =1.001;
flipbook.zoom(-1);
}
}
});
</script>