Jump to content
Search Community

noleeo

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by noleeo

  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? 

    See the Pen OJjjjQW by noleeo (@noleeo) on CodePen

     

    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.

×
×
  • Create New...