Jump to content
Search Community

navelascoa

Members
  • Posts

    4
  • Joined

  • Last visited

navelascoa's Achievements

  1. Thanks for the patience. Trying to simplify: https://codepen.io/nelson-velasco/pen/wvydaby 1. I made a Gsap timeline that goes from point A to point B 2. Point B is associated with the width of a specific div 3. This div can vary in width (resize) 4. Then I associate the movement to the width of that div as follows: .to(icon_advance,{ left: myDiv.offsetWidth, }) 5. The Gsap timeline doesn't adjust to the new width, or I don't know how to do it. Again i appreciate any response
  2. Thanks for the reply. Maybe with pictures I can explain it better. For example, in image one (1) the browser is 1920x969px and the position of the advance icon animation is correct. The second image (2) is the browser resized to 1372x675px during execution, then the advance icon appears to be in the wrong position. I hope to make myself understand better
  3. Hi, I want to know if it is possible to recalculate values in timeline properties. My case is a timeline (literally) that is divided into several segments and an icon that progresses between them. The problem is when changing the size of the browser, the start and end of the icon in its respective segment is not recalculated. I appreciate any response or guidance. I add an example (sorry my english)
×
×
  • Create New...