Jump to content

How to stop iframe scroll?


Pocha Kiwn
 Share

Recommended Posts

Hey, I have iframed a tool on this post https://clickingspeedtester.com/scroll-speed-test/ The basic purpose of the tool is to test the scroll speed. But when someone scroll the iframed area it scrolls the whole page not just iframed area. I'm using this code <iframe class="lazyloaded" src="https://coinmasterspindaily.com/testing/" width="100%" height="200px" frameborder="0" data-rocket-lazyload="fitvidscompatible" data-lazy-src="https://coinmasterspindaily.com/testing/" data-was-processed="true"><span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: scroll; line-height: 0;" class="mce_SELRES_start"> </span><span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: scroll; line-height: 0;" class="mce_SELRES_start"><span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: auto; line-height: 0;" class="mce_SELRES_start"> </span> </span></iframe> 

I want it to be like when someone scroll the iframed area it just scroll the iframed area not the whole page. Anyone can please help?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...