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
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://ww.wp.xz.cn/plugins/header-and-footer-scripts/
Best,
DearHive
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
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.
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.
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