Jump to content
Search Community

Joshua721

Members
  • Posts

    4
  • Joined

  • Last visited

Joshua721's Achievements

  1. Yes! This is what I was after!! So was I working at a level too high? as i was looping through the wrapper, or was it because I was using classes instead of using a querySelector? As looping through items still confuses me a little.
  2. Hi, I've been trying to create a card fading animation that has two parts before animating the next card. First the card should fade in, then after a delay of one second then the red box should fade in. After both of these animations have ran, it should repeat the animation for the next card. What i currently have is all of the cards load and then the red box fades in after all of the cards are faded in. I'm not sure on how to finish one card fully before moving onto the next card.
  3. Its hard because when inside codepen, it works the way i want, but in dev the drag stops. I want the motion part which uses the InertialPlugin removed because I don't have access to that plugin, but i'm not sure what part of the code uses that plugin. For example if you remove the "https://assets.codepen.io/16327/InertiaPlugin.min.js" from the codepen, thats how it want it, but for some reason it works prefrectly fine in codepen but in dev stops all function of the drag. Not sure if there is a way around using that plugin or not (edit) i've found this codepen that doesn't use the plugin so maybe this is the right direction? https://codepen.io/mvaneijgen/pen/GREebPK
  4. Hey, I'm quite new to GSAP and trying to make a slider/carousel. I've looked at the helper codepen which is what i've used in my code pen, and works fine without the InertialPlugin, but when I use the same code in development the slider is no longer draggable. Could it be that using code that requires the InertialPlugin while not having access is breaking the animation? Sorry if the codepen above doesn't show much, its hard to show a coded repensentation of my development problem. https://codepen.io/GreenSock/pen/zYRWmOb (edit) Even something like this But without the InertialPlugin. I've been looking at the code for a while and not sure which parts use the InertialPlugin
×
×
  • Create New...