Jump to content
Search Community

Skilltech

Business
  • Posts

    29
  • Joined

  • Last visited

Everything posted by Skilltech

  1. @akapowl can you give me an example of that event listener? I'd definitely want that as a precautionary measure.
  2. @akapowl you are THE MAN. I am using small images actually, I tried out the codepen's feature i.e. loading images from codepen's "assets" section because in many pens I visited it struggled when pulling images from other websites causing those pens to load incorrectly. Thanks a lot again and I'll continue to use gsap in my production and join the club when I'm ready to publish.
  3. Hi @akapowl and thank you for such a fast response, Also, THANK YOU for solving this issue for me AND for providing the onUpdate version. I have one final question, I opened your (and then my) pen on mobile after reading your reply and the performance is so slow that the effect is completely unusable. The question: Do you have any suggestions on how to treat this on mobile or, more importantly, do you think there is a proper, better way of achieving this same effect? Once again, thanks a lot. P.S. the duplicate <main> was a typo I only made on codepen
  4. Hi, Love the smoothness of gsap, interested in buying business green and I'm trying to make sure it works for creating parallax image backgrounds with ScrollTrigger, smooth-scrollbar.js and scrollerProxy() combined. I saw a working parallax backgrounds pen (1) and this is the desired behavior: https://codepen.io/ChrisCrossCrash/pen/YzwjKYG I also saw your pen(2), the implementation of smooth-scrollbar.js with scrollerProxy(): https://codepen.io/GreenSock/pen/oNLqgBm I made a combination of those two pens, I used effects from pen 1 and setup from pen 2 and got an almost working result but... The issue: The parallax background images are all over the place. You can see the result in my pen, make sure to make the preview window tall enough. Please tell me what I'm doing wrong, thanks. MY PEN: There are four images/sections in total. Notice how, around the second/third image it goes wrong. P.S. The smooth-scrollbar.js works correctly on its own and gsap works correctly on its own.
×
×
  • Create New...