Jump to content
Search Community

Charlyta

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by Charlyta

  1.  

    Thank you very much for responding so quickly. Sometimes four eyes see more than two. It was a silly oversight and with a very easy solution. This forum is the best.

    I know ScrollSmoother it's better than  Locomotive but it's not free and I can't afford it.

    Gsap has revolutionized the creation of websites. I remember when I got certified in Flash and Actionscript was the only creative solution, but Gsap is lighter and provides unique creativity. 

    I think you provide greate resources and tutorials with a good documentation. There are things that webgl can do better, but are two different things.

    Thanks!!

     

    • Thanks 2
  2. Hello there!

     

    I am really impressed by your answers. Thank you very much to everyone for your help. It is a great step to develop my ideas with GSAP in my new projects. The solution has become very clear to me now. Thanks again!!🙂

    • Like 3
  3. Hello there! Thanks for the example. Very clear!! I understand that using different libraries is more complex. Could I use in your example use ScrollTrigger.isScrolling( ) to apply a class to the aheader while scrolling or is not the best way to do it?

     

    Thanks akapowl!!

  4. Hello!

    I have read all the posts about this question but didn´t solve my problem about getting the header fixed while scrolling. I am using Locomotive too because I have no money to get somoothscroll.. sorry for this. Any help will be really appreciate it. 

    I have tried adding class, etc. without result..  :( 

     

    See the Pen poKaLQW by charlyta (@charlyta) on CodePen

  5. Hi!

    I want to update the path pf a SVG while scrolling. I supose that I have to use 'PositionInViewport'.  I have seen an oficial GSAP example form Codepen explaining 'PositionInViewport' and  'isInViewport' here: 

     

    My Codepen trying to perform this is: 

    See the Pen mdxLZPg by charlyta (@charlyta) on CodePen

    I tried to update the value of data path in this way:

     

    gsap.to(curve.setAttribute(
            "d",
            "M 800 300 Q 400 " + myposition + " 0 300 L 0 0 L 800 0 L 800 300 Z")
          );

     

    Where 'myposition'  is from: let myposition = ScrollTrigger.positionInViewport(box, "center").toFixed(2);

     

    The question is: How to get the position to pass this var to the path.

     

    Thanks in advance

    positionInViewport:
    Scroll down

    gsap_example.JPG

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

  6. Thanks Dipscom!

     

    I only want to achieve a simple scroll using grid.. this is my ultra simple example in codepen. As you could see there is ever a blank space below the div.. (see the new codepen above) Thanks!!

  7. Thanks for your fast response Dipscom!

    I have simplify the code and I can see that this problem appears using locomotive too, so I supose there is something wrong abot the css using grid.

    Thanks

     

  8. I know that problably is a repeated question but I don´t understand why appears a great blank space bellow a div when scrolling. 

    Is it more of a styling issue?  Any help would be appreciated.

    Thanks in advance.

    See the Pen PoRjmda by charlyta (@charlyta) on CodePen

  9. Hi OSUblake,

     

    I want to show my hidden div with display:none and opacity:0 becomes visible. This hidden div will be showed from an option link of my main menu. I have set the right code in jquery, but the div is not displayed. It is because there is an error in my gsap code?

     

    This an example of what I mean: 

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

    Thanks

  10. Hello! It´s the first time I use Gsap, so I´m sorry if the question it´s very basic. I have seen this example in tympanus but I don´t understand how moves the text elements in differents directions. I have tried in css and jquery without result: https://tympanus.net/codrops/2021/06/23/inline-to-menu-link-animation/ Any aproach would be really apreciate.

    The question, if you don ´t want to see the link, is how to move the words of a text in differents directions. Thanks for your help! 

     

     

×
×
  • Create New...