Jump to content
Search Community

Chybosky

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by Chybosky

  1. Hello Everyone,

    Trust you are great.

     

    Please I need your help to make my slider scrollable.  I have tried to kill the timeline at the end of the the scroll and it restarts but it does not scroll until I scroll back to the previous slide and then forward.

     

    I sincerely appreciate any help provide.

     

    Thank you.

    See the Pen PoVmXOG by Chybosky (@Chybosky) on CodePen

  2. Thank you so much @PointC

    This is the changes I made:


    See the Pen oNpKRvz by Chybosky (@Chybosky) on CodePen

     

    I have made the changes and I can separate the animation for both the text and the :after element but I have some issues that I encountered. One of the issues is  The ::after(background) element does not come first after the first slide passes. The second issue is with the SmoothScroller Script, I had some issues testing it on a live website. Please how can I resolve it.

    Thank you

     

  3. Hello Community,
    Please I need some assistances with Animating the ::before element on each slides. I tried but the text keeps coming before the ::before (Rectangle background) element.

     

    I would like to make the rectangle comes first then the text over it second. The Text can start coming over it halfway when the rectangle enters the banner and reverse the flow on exit.
     


     

    See the Pen oNpKRvz?editors=1010 by Chybosky (@Chybosky) on CodePen

  4. I need some help, I am currently experiencing some issue on a website I am working on. Here is the website URL https://gsap.asdt.com/home-2

     

    The Scroll Snap doesn't work on the page.

     

    Here is the my GSAP code;

     

    <script>
        gsap.registerPlugin(ScrollTrigger);
    
        gsap.utils.toArray(".panel").forEach((panel, i) => {
          ScrollTrigger.create({
            trigger: panel,
            start: "top top", 
            scrub: true,
            pin: true, 
            pinSpacing: false
          });
        });
        
        
        ScrollTrigger.create({
            snap: 1 / (panels.length - 1),
            duration: 0.5
        });
    </script>

     

    Please how to I resolve the problem.

×
×
  • Create New...