Jump to content
Search Community

keanureefs

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by keanureefs

  1. Ahhhhh, brilliant. Thanks, Zach. So helpful! ?
  2. Zach, Thanks. Yeah you are right. The example posted here seems to work just fine mainly because the height of the embed is static. I think if you 'edit on codepen' and change the height of the window then you'll see what I mean. All in all, it works fine until the window's height is changed by dragging it. That's when the calculations for the sprite sheet and the size of the scrub area misalign. Thanks again. j
  3. Hello Forum...thanks for the help. I'm scrubbing through a background image sprite sheet on scroll in the example given. All seems to work out fine except if the user resizes windows, then the values for some of the sizing and sequencing are not updated so the scrubbing misaligns. Im probably missing something here but wondering if these variables can be updated. I realize it might cost performance wise but am looking for suggestions. I tried kill() and restart() as well as refresh() on ScrollTrigger but to no avail. I definitely feel like I am missing something here. While on the topic, I might be able to save myself some pain and scrub through actual video? Is this possible using ScrollTrigger? To scrub through an mp4 or webm using the video tag? Thanks!
×
×
  • Create New...