• Resolved pfajs

    (@pfajs)


    Hello,
    I would like to turn off zoom in while scrolling up with mouse. Is it happening that when I want to go to the top of the page and I go throuh sections with PDF’s I am not going up anymore but zooming in PDF’s instead.

    Thanks in advance, Peter

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author deip

    (@deip)

    Hi,

    There is a setting for disabling that, but that setting is a premium function.

    Instead, you can try using some custom JS.

    DFLIP.defaults.scrollWheel = false;

    if that alone is not working, try adding this line too.

    dFlipWPGlobal.scrollWheel = false;

    Best,
    DearHive

    Thread Starter pfajs

    (@pfajs)

    Hi, thank you very much for your answer. Can you please tell me in which file/line of code I need to copy your custom JS code?
    Thanks in advance, Peter

    Plugin Author deip

    (@deip)

    Hi,

    You can insert additional js code.. many themes have additional js section.

    Don’t edit the plugin file..

    You could use some script plugins.. they will do..
    https://www.ads-software.com/plugins/header-and-footer-scripts/

    Best,
    DearHive

    Thread Starter pfajs

    (@pfajs)

    Perfect, thank you.

    Have a nice day.

    Peter

    Hi,

    I also have the same problem.
    I tried using your solution by adding this code to the page header like this:

    <script type="text/javascript">
    DFLIP.defaults.scrollWheel = false;
    dFlipWPGlobal.scrollWheel = false;
    </script>

    … but it doesn’t work.

    Do you have any idea why it’s not working and what could i do?
    Thanks

    Plugin Author deip

    (@deip)

    Hi,

    It depends on where it gets added, make sure it gets added after the dflip plugin script.

    Or share your page link, we will also check why its not working in your site.

    Best,
    DearHive

    Thanks for your answer,

    I’ve send you my website url and details by email.

    Plugin Author deip

    (@deip)

    Hi,

    As suspected the code is added in the Head section, Add the script in the footer section and they will work.

    If you are using a custom plugin that inserts javascript then you can set the location where the script has to be inserted.

    In future the setting we might introduce a setting that will not allow zoom wheel in embedded but allow in popup flipbooks.

    Best,
    DearHive

    Hello…
    i have the same problem…

    i tried 2 things:

    1- adding inside <head> using plugin “Header and footer scripts”:
    <script type=”text/javascript”>
    DFLIP.defaults.scrollWheel = false;
    dFlipWPGlobal.scrollWheel = false;
    </script>

    2- adding inside default theme JS import tool :
    DFLIP.defaults.scrollWheel = false;
    dFlipWPGlobal.scrollWheel = false;

    Note: i tried to add first line alone, and also tried both lines together, BUT both didnt work!!

    ———-
    Also, i found this link : https://flipbookplugin.com/docs/jquery/documentation.html

    But i dont know where inside plugin files i should change “true” to “false” :
    //set if the zoom changes on mouse scroll (true|false)
    scrollWheel: true,
    ———-

    Can you please advise further, what should i do ?

    Thanks in advance.

    Plugin Author DearHive

    (@dearhive)

    Hi @weeegooo,

    Please share the link to your site.

    We set this through the premium plugin, that has this option available and it sets the value after loading dflip.js. The process is same.

    So, if you too do it after dflip.js load in the footer and assign it to load with least priority it will work.

    Best,
    DearHive

    P.S. flipbookplugin.com is our old site before we moved to dearflip.com

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Scroll up – zoom in’ is closed to new replies.