Jump to content
Search Community

digitalfrci

Business
  • Posts

    14
  • Joined

  • Last visited

Posts posted by digitalfrci

  1. Thanks a lot for your time and explanations 

    did you have an example for this one:

    Quote

    Sure? I don't see way not. Personally I'm more a fan of putting all the tweens on one timeline and controlling that. ?


    or this 
     

    Quote

    That is the beauty of GSAP, everything is possible. Keep in mind that everything starts with an animation, so focus on that at first, before you start building out fancy interactions. 

     

  2. very one one its help a lot . Thanks

    but i have some question
    there is another way to do it with scrolltrigger ? 
    what about if i have every slide to have its own timeline animation ?
    and if i want to change every slide direction ?  is this possible to achieve something like that ?

  3. Hello can someone help one achieving one animation?

    what i want is when i scroll and as soon that the section hpslider hit the top it pin this section (lock in a fullscreen mode)
    so that i can scroll to other section even if i scroll fast ( the other section should be visible )
    then when i scroll down it should change slide ( like a slider effect on mouswheel )

    i want to force the user to view all slide before going to next section

    on the last slide the user should be able to scroll to next section normally ?

    is it possible ?


    edited : example i want to achieve a bit something like that 

    See the Pen XWzRraJ by GreenSock (@GreenSock) on CodePen


    but only when the section hpslider hit the top so i can scroll down to change slide like the example and at the end its release so i can go to next section

     

    See the Pen PoXzoON by lolong94 (@lolong94) on CodePen

  4. hello here it the code.

     

    i may use it for several block, but some time it wont have .staggerInFirst , so there is way to put an if / else to check it this box have staggerInFirst then execute the tl ?

    gsap.utils.toArray('.staggerIn').forEach((staggerIni) => {
        let tlstaggerIn = gsap.timeline({
            scrollTrigger: {
            trigger: staggerIn,
            start: "top 70%",
            }
        });
     
    tlstaggerIn.from(staggerIn.querySelectorAll('.staggerInFirst'), {opacity:0 , duration: 0.5, y:-10})
               .from(staggerIn.querySelectorAll('.staggerInStagger'), {opacity:0 , duration: 0.5, y: 10,  stagger: .25,},)
     
               
            
    });
     
  5. @ZachSaucier Thanks, unfortunately i dont have any link or video for this effect, but to be clear i just want to do 1 thing:
    on Scroll i just want to make the blue overlay to move from left to right first then switch to next section 

     

    may be we can say like a reveal animation, on scroll the blue overlay goes from left to right then the 2 section reveal. 

×
×
  • Create New...