Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Pass iFrame mousewheel / onwheel event to parent --> Solved
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4347
Page 1 of 1

Author:  marcverkade [ 9. Jun 2017, 17:31 ]
Post subject:  Pass iFrame mousewheel / onwheel event to parent --> Solved

Hai Michael, Everybody,

I am using the external workaround for auto-height which works great now!
There is one thing of which my customers complain: The mousewheel is not scrolling the parent-window up and down.

Does somebody know a way to pass the mousewheel events of the iframe document/body-element to the parent window?
It is logical when somebody moves the mousewheel when not on an element, this mousewheel event is passed to the parent and not to the iFrame since that it is set to auto-height.

I have been searching the web for a solution but could not find anything.
Perhaps somebody here has a solution?

regards, Marc

Author:  marcverkade [ 9. Jun 2017, 19:15 ]
Post subject:  Re: Pass iFrame mousewheel / onwheel event to parent --> Sol

It seemed that it was an issue of the Muffin Theme Builder of the specific Wordpress site.
Setting the scroll-mode from 'Nice Scrolling' to 'Default Browser Scrolling' in the theme options / plugins solved this issue.
Regards, Marc

Author:  TinyWebGallery [ 10. Jun 2017, 00:10 ]
Post subject:  Re: Pass iFrame mousewheel / onwheel event to parent --> Sol

Good :).

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/