ballaneypranav ballaneypranav - 1 year ago 368
Javascript Question

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

I don't want the hover animation in turn.js.
Have tried this:

width: 400,
height: 300,

$('#flipbook').turn('peel', false);‚Äč

Any kind of help will be greatly appreciated.

Answer Source

I used this:

    function (event, pageObject, corner)
        if (corner == 'tl' || corner == 'tr' || corner == 'bl' || corner == 'br')

Now, it never shows the peel effect :-)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download