1. Home
  2. Docs
  3. Advanced Customizations
  4. Reset flipbook zoom on flip

Reset flipbook zoom on flip

Demo:

CSS Book
GLFW manual
Brand Manual Template
DearFlip Manual
Mazda 6

Code:

We can use the beforeFlip() function to reset the flipbook zoom, when flipbook starts to flip.

<script>
jQuery(function(){

    DFLIP.defaults.beforeFlip = function(flipbook){
    
        flipbook.zoomValue =1;
        flipbook.zoom(-1);
    
    }

});
</script>
For WordPress, please read on 
How to add Custom Code to WordPress Pages

How can we help?

Leave a Comment