Jump to content
GreenSock

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

cptain

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

2 Newbie

About cptain

  • Rank
    Newbie
  1. Awesome! Thanks again for the replies.
  2. Wow, thank you so much! This is exactly what I needed. 🙏 So, basically, I needed to just add a timeline for each panel instead of just having one. Also, I appreciate the tips on cutting down the code, great suggestions! One more question. Is it possible to also have the animation trigger only if the previous animation has finished first? I'm gonna check the DOC again, but just throwing this out there in case I can't figure it out. On a sidenote, I can't thank you enough for developing such an amazing tool. I never thought it would be so easy to animate t
  3. I'm building an SVG animation and I'm having trouble figuring out how I can incorporate a ScrollTrigger for my panels. My goal is to scale up the panels to their full size as far as the user is scrolled to a position that will allow them to view the animation. I'm not quite understanding how to do so in such a big timeline as this is the first time I'm creating something that is more than 10 lines of code with gsap. Any advice? I apologize in advance if my code is sloppy and not as efficient as it could be. Here's another codepen I made to try to test it out with less a
  4. Thanks for the replies OSUblake, I appreciate them. Thanks for the comment "Are you sure waiting for the page to completely load is a good idea?", not sure why I didn't think about this thoroughly. It does sound like a bad idea actually since there is likely the will be staring at a blank page as you pointed out. I'll probably take another approach with this—like having just the panels fade-in or something—, or drop it entirely.
  5. Hello everyone! I just started using the GSAP library a few days ago and I am having an absolute blast! However, I have been struggling to achieve this fade-in effect for a page I am building (check it out here). The idea (just like in the codepen that I linked and the actual page) is to have the page fade-in from above when the DOM is loaded. Initially, I just added a fromTo Tween, then I added the window.onload function and inserted the code in there. Both "solutions" failed, as the content appears and then the animation procs. I wanted the animation to proc as soon as the DOM is
×