Jump to content
Search Community

McSteer

Members
  • Posts

    5
  • Joined

  • Last visited

McSteer's Achievements

  1. Yes, now i see what was the issue, I just haven't even considered that there's a way, to keep track of the progress. Thank you!
  2. Since then i realised, i can easily make the other code work (Slideshow 2.0 (codepen.io)), but the question would still be, if there's a way to refresh animation positions on page refresh, since i've been trying to make that work, thank you!
  3. Hello! I've ran into some problems with a scrolltrigger animation. If I scroll below the div containing the animation, and refresh the page it starts from the second slide, after i scroll up it keeps resetting itself to the first slide. Possible solution I thought about, is scrolling the page to the top after a refresh, but the bug still persists after that, so i thought about refreshing the whole animation to it's base state. Other solution i though about is always loading the page from the server, by having each refresh also delete cache, but i don't think this would be a great idea. Any help or pointers are appreciated! I also linked a codepen with the code I use (I know it's kind of a basic way to do this, but the dynamic way that i got from greensock, wouldn't play nice with other content on the site) The error doesn't recreate in codepen though. So i made an html file in which the bug is recreatable. demo.html
  4. Thank you for your reply @GreenSock ! I decided, to try and make what I want from scratch, i whipped up a little demo, which might not be the most optimal way to solve the problem, but it kinda works, but I also got into another problem. I don't know if this is even on topic, if not i'm sorry, but I'm trying to find out, how to continue an animation from existing "x", meaning that I'd like the slides to continue on to the green slide instead of restarting the animation from the red slide. Horizontal slideshow (codepen.io) Edit: should i use timeline? sorry i'm really new to GSAP
  5. Hello! I'd like to make this horizontal scrolling animation, to not be so "analog". Meaning I'd only want it to switch at certain scroll positions, until then it should just stay on the current slide. Thank you!
×
×
  • Create New...