Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Chris Heuberger

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Chris Heuberger's Achievements

  1. Thanks! For anyone interested down the line, I made a slight modification just to prevent aspect ratio distortion when initial width or height are defined as auto instead of a percentage: https://codepen.io/ChrisBup/pen/oNwXewJ
  2. Can this method be applied to animate a background image size from a percentage to cover? So from background-size: 150% auto; to background-size: cover; Using the original function doesn't seem to work as configured: https://codepen.io/ChrisBup/pen/ExmjWRW
  3. Ah yes, I was just posting that same fix about the position, thanks. But I don't quite grasp the start/end distinction. What is that updated line saying?
  4. Thanks for the reply! When I move that snippet outside of the forEach() loop and remove the toggleActions, the issue persists (at least in Chrome and Firefox): https://codepen.io/ChrisBup/pen/VwpvGyZ The issue being: after the three trigger panels have reached the top, continuing to scroll puts the third trigger panel back at the bottom requiring the user to scroll past it again. The attached screenshot is what I'm trying to avoid. When the red box becomes unfixed and starts to scroll, the section that "pushes it up" should be the "ensuing content" section, not the "trigger panel three" section.
  5. Hi, I'm trying to use GSAP ScrollTrigger to fade 3 fixed headers in and out sequentially with transitions that are tied to 3 trigger panels, each with scroll snapping behavior based on this demo: After the 3 trigger panels have been scrolled, I'd like normal scrolling to apply so that the entire header section scrolls out of view along with the ensuing content (sort of like the featured projects section here: https://katiforner.com/). The attached CodePen is almost there but when the content section is reached, the third trigger panel reappears for some reason and must be scrolled again before ensuing content scrolls into view. Any idea what's going on and how I can get that header section to seamlessly scroll up with the content section? Thanks, Chris H
  6. I have four timelines, all paused, using MorsphSVG, and I have four buttons that play their respective timelines on click. The problem is that each timeline animation will only play once. Even though each button is properly registering clicks (see console log), clicking a button a second time (after clicking another button to reset the animation) doesn't re-run the animation.
×