Jump to content
Search Community

Volt 22

Premium
  • Posts

    42
  • Joined

  • Last visited

Posts posted by Volt 22

  1. Thank you for your response, Jack.

    I followed your suggestion and it was much better. However, it still wasn't very smooth as chart JS uses a different animation engine like you said.

    So, I used another method, made an SVG and used drawSVG to animate it.

    Thank you.

  2. Hello everyone, 

     

    I have 21 images stacked on top of each other, I want to change the opacity of the images on drag to reveal the image behind. For example

    0% to 5% of drag should change the opacity of the first image to zero,

    5% to 19% of drag should change the opacity of the second image, and so on.

     

    I already have it working to some degree, but the result is inconsistent relative to the speed of dragging.

    See the Pen PoyemoO by Iam_Jesse (@Iam_Jesse) on CodePen

  3. Hello everyone,

     

    Please how can I go about the interaction on the hero of this website? https://solluminaire.com.sg/product/voli/

    What I want to achieve is slightly more different, I'll need to change the colors, maybe from blue to purple to red etc, as it is on https://near.sg/pages/linear-system.

    I know I have to provide a codepen, but I'm not even sure where to start and that is why I don't have a pen to show now.
    I just need to be pointed in the right direction, the best way to go about this. I'll provide a pen after that.

    Thank you.

  4. Hello everyone,

     

    Please is there a way to slow down the transition between the different blocks in the demo?

    I use scrollsmoother and I increased the smoothing but no luck,

    and I also tried to add (end: () => (window.innerHeight * 1.2)) to the scrollTrigger but it doesn't work as well.

     

    Thank you.

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

  5. Hello Cassie,


    Thank you for the swift reply. 
    However, what happens when I scroll down pass the onEnter marker, and not scroll beyond the onLeave marker but then start to scroll upward. The button will already be green, and not revert until I scroll pass the onEnter marker again.

    • Like 1
  6. Hello everyone,

    I have some color change animations in a site, a fixed button on the top right changes color as the background color of the body changes.

    When the background of the body changes to yellow, the fixed button background changes to green.


    Also, the navbar with the logo disappears on scroll down and reappears on scrollup, and the navbar has a green background, so on scroll up when the body background is yellow, the navbar has the same color with the button.

    I do not want to play the color change animation for the button on scroll up at all.

     

    Thank you.

    See the Pen poLqYYG by voltmeup (@voltmeup) on CodePen

  7. Hello everyone,

    On the site - https://www.voltmeup.com/, I have a section with a grid with the header on the left pinned to the top of the viewport, and content scrolling on the right. 


    Without pinSpacing, there seems to be some issues with the sections following, the next section contains a background video, and is supposed to be pinned to the top of the viewport as well, but it doesn't get all the way to the top before it is pinned, and the footer gets cut off as well.


    But with pinSpacing enabled, there is too much whitespace below the section in question, however, everything else looks fine. How do I get rid of this whitespace caused by pinSpacing.

     

    image.thumb.png.c36cc1d9d5d9aeb89fe20c203050b3a1.png

  8. Hello everyone,

     

    I want to replicate the effect on the sites

    https://dashdigital.studio/,

    https://joinclyde.com/

     

    where the footer is pinned at the end, and the previous sections scroll to reveal it.

    Similar to this pen - 

    See the Pen BaowPwo?editors=0010 by GreenSock (@GreenSock) on CodePen

     but not for each section.

     

    It seems the rest of the site is in one wrapper and the footer is in a different wrapper. How do I translate this fore wrapper to reveal the footer behind. I'm using gsap scrollsmoother.

    See the Pen qBxvjGy?editors=1000 by voltmeup (@voltmeup) on CodePen

    • Like 1
×
×
  • Create New...