Jump to content
GreenSock

noleeo

Members
  • Posts

    1
  • Joined

  • Last visited

noleeo's Achievements

  1. @akapowl I'm having the same issue. I'm trying to use a %, but that is not consistent. I am new to GreenSock and have limited scripting knowledge. Can you help me figure out the calculation for the start and end on this? https://codepen.io/noleeo/pen/OJjjjQW I tried this start, but it is not working... start: () => 'top top-=' + (sct.offsetLeft - window.innerWidth/2) * (document.querySelector(".horizontal-slideshow3").offsetWidth/(sct.offsetWidth * (sections3.length - 1))), Any help you can give would be appreciated.
×