How to disable peeling (hover effect) in turn.js?

I don't need the hover animation in the queue. js. Have tried this:

$('#flipbook').turn({ width: 400, height: 300, }); $('#flipbook').turn('peel', false);​ 

Any help would be appreciated.

+6
source share
2 answers

I used this:

 flipbook.bind('start', function (event, pageObject, corner) { if (corner == 'tl' || corner == 'tr' || corner == 'bl' || corner == 'br') { event.preventDefault(); } } ); 

Now it never shows the peeling effect :-)

+7
source
  corners = { backward: [], forward: [], all: [] }, 

This should solve your problem.

+1
source

All Articles