Jump to content
Search Community

Nzhiti

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Nzhiti

  1. This seems to work as expected not sure it's the correct approach https://codepen.io/nicolas-zhiti/pen/JjEVKbJ
  2. Wrap util is definitely something I should work around to achieve this on my own. Thank you
  3. Thank you This codepen should do the trick, based on @Jack script. https://codepen.io/nicolas-zhiti/pen/GRrLKgr
  4. Using the toIndex() lead me to an unwanted behavior. In this code pen if you click on the 5th magnet then on the 9th and finaly on the first you go back to first magnet on the left instead of the one on the right. I don't know how to insert code pen again ?
  5. It helps more than you think ! ? Thank you for that, is it up to date with gsap best practices ? Still, if someone can explain to me what I did wrong would be highly appreciated. I'm still gonna train this script you learn better when you practice Thank you @Jack
  6. Hello GSAP community, First of all I'd like to thank the developper and the community for the amazing work around GSAP, i've discover it few month ago and I can't imagine work without it now ! Let's get back to business ! I'm developping a carousel and i'm facing multiples issues : - I can't control the width of the magnet container, that means depending on the number of magnets, some magnets might be not fully visible and when you use the modifier to get back to position 0 it may override a magnet - In my case the function prev works but not the next one (I've inverse the rotation of the carousel in purpose) Any clues how to fix that ? Have a good day
×
×
  • Create New...