3D FlipBook - Hi how do can I disable navigation through corners pt.2

g***3@cock.li
2020-07-30
2020-07-30

Past messages: >Hi how do can I disable navigation through corners (click corner bottom right it goes ahead, bottom left bo back)?

>only edit code.

>I tried so long but I'm unable to find out how. can you give me a help? thanks

I have a premium version (jQuery not Wordpress). please can you give me more info on how to do that? can't find the way

thanks

Replies

a***r@3dflipbook.net
2020-07-30
2020-07-30

It seems i was wrong, there is a simple way:

var options = {
...
ready: function(scene) {
          scene.book.enableMouse(false);
        },
...
};
g***3@cock.li
2020-07-30
2020-07-30

Thanks! I have this code but it seems not to be working anywhere. Where should I have to put it?

  $('#container').FlipBook({

   pdf: "path to pdf",
  pages: 5,
    propertiesCallback: function(props) {
      props.cssLayersLoader = function(n, clb) {// n - page number
        clb([{
          css: 'some css',
          html: 'some html',
          js: function (jContainer) {
            console.log(jContainer);
            return {
              hide: function() {console.log('hide');},
              hidden: function() {console.log('hidden');},
              show: function() {console.log('show');},
              shown: function() {console.log('shown');},
              dispose: function() {console.log('dispose');}
            };
          },

        }]);
      };
      props.cover.color = 0x000000;
      return props;
    },

controlsProps: {
  scale: {
    max: 5,
    levels: 10
  }
},

    template: {
      html: '3dflip/3d-flip-book/templates/default-book-view.html',
      styles: [
        '3dflip/3d-flip-book/css/short-white-book-view.css'
      ],
      links: [
        {
          rel: 'stylesheet',
          href: '3dflip/3d-flip-book/css/font-awesome.min.css'
        }
      ],
      script: '3dflip/3d-flip-book/js/default-book-view.js',
      sounds: {
        startFlip: '3dflip/3d-flip-book/sounds/start-flip.mp3',
        endFlip: '3dflip/3d-flip-book/sounds/end-flip.mp3'
      }
    },

  });
a***r@3dflipbook.net
2020-07-30
2020-07-30
$('#container').FlipBook({
   pdf: "path to pdf",
ready: function(scene) {
          scene.book.enableMouse(false);
        }
});
Log In to leave a comment