Jump to content
Search Community

Nora

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by Nora

  1. hello, I'm Trying to create horizontal parallax scroll

    the problem in trigger when I write .container as  trigger it doesn't work but when I put class that doesn't even exist  it work as I wanted 

     

    also in floor background how can I Stretched the image to make it fill 400vw width ?

     

    (view the demo in full page to see the floor image)

    See the Pen PovNaBK by nora10 (@nora10) on CodePen

  2. I'm Trying to apply ScrollSmoother but it say ScrollSmoother is not defined

     

    ```

    gsap.registerPlugin(ScrollTrigger, ScrollSmoother);

    ```

     

    ```

     
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/ScrollTrigger.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.10/SmoothScroll.min.js"></script>

    ```

     

     

  3. thank you for advising


    I already put a minimal demo to explains the problem

    The problems:
    -when I scrolling, and after the text appear there is a black screen is showen 
    - after blue div the image that I zooming in is showen 

     

    what I'm expecting:

    - scrolling to zoom image 
    - text appear with the video playing
    - scrolling horizontally to reach red div 
    - scrolling vertically to reach blue div

     

    and sorry if that not clear my English is not good

    • Like 1
  4. Hey

    The problems:
    -when I scrolling, and after the text appear there is a black screen is showen 
    - after blue div the image that I zooming in is showen 

     

    what I'm expecting:

    - scrolling to zoom image 
    - text appear with the video playing
    - scrolling horizontally to reach red div 
    - scrolling vertically to reach blue div

     

    Thank You in advance!

    See the Pen mdxGdxQ by nora10 (@nora10) on CodePen

  5. I'm working on GSAP and I have two elements in different pages have same class and I want to apply on them animation using scrollTrigger when I reach to the element...if there a way I can do this in on function instead of given to them a specific class and repeating my self?

    See the Pen XWEmeJQ by noX10M (@noX10M) on CodePen

×
×
  • Create New...