Jump to content
Search Community

PatMa

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by PatMa

  1. Good afternoon everybody


    I saw different topics related to my actual question but I did not manage what I want yet. And I do not know how to resolve my issues.....

    I created a Code pen to show you what I want to create: a canvas that displays a different image (related to the list item) on hover of the list item.

    I recently saw this effect on different websites and I am wondering how to reproduce it (if that's possible?.)

    thank you

     

    See the Pen MWKjVzq by patmag (@patmag) on CodePen

  2. 13 minutes ago, OSUblake said:

    Check how many times a wheel event fires. It's not like a click event.

     

    Also, it's better to use y or yPercent instead of top

     

    I agree!!!,  and I tried so hard but i still don't understand how to display one console.log when I use the onWheel event. Do you have a fix?

     

    Thanks for your answers

  3. Hey, I'm back and still lost about onWheel events with React and GSAP (I'm sorry.....).

    I read a post (here) weeks ago, and I still don't understand. I hope someone can help me...

    Here's a simple example of what I'm expected to create: a simple slider that can change with the onWheel event with React JS.

    https://codesandbox.io/s/elegant-voice-8kqcb?file=/src/App.js

     

    Perhaps I'm doing wrong, I don't know... When I'm scrolling, the third element appears directly and I don't know why.

    Thanks a lot in advance

  4. Thanks to you a lot ZachSaucier !

    Your explinations are very useful!!

     

    I'm sorry that my question is not really about GSAP.

    Do you have any links about that type of preloader (with your method), animated with GSAP ?

     

    thanks again

  5. ¡Hola

     

    Sorry in advance for my bad english. I need animation developers advices. Please

    I begin creative development with react (js not native) and i don't know how websites created preloader with percent animations :

     

    https://jasonbradley.co/

    website1.thumb.png.e76a47bdb00a48f53ec6dc51924d15df.png

     

     

    https://heycusp.com/

    website2.thumb.png.9fc4334e8f4287ac62d788e00dee4b48.png

     

    I'm a beginner and i try to use react hooks but I don't know how to create this kind of animation. And above all: how to create the percentage when content is loading. How is it working please ?

    Thanks to you nice developers

     

     

×
×
  • Create New...