I am building out ads using GSAP and ScrollTrigger.
The ads are rendered within an iframe (the iframe is not cross domain, it is programmatically generated so no cross domain issues) and I want the ScrollTrigger to use the Parent window to monitor the scrolling action. Is this possible?
Here is an example snippet of the code. I have full access to the parent window.
ScrollTrigger.create({
trigger: "#hideme",
scroller: window.parent,
start: "top top",