Jump to content
Search Community

longstoryshort

Premium
  • Posts

    6
  • Joined

  • Last visited

About longstoryshort

longstoryshort's Achievements

  1. Thank you both! Both options worked but I needed more pins in the #content div so went with the second one. I like the dummy tween technique. I've been looking for something like that for a while. Is there any documentation about it?
  2. Hi, is it possible to have consecutive scrolltriggers where the first uses pinspacing? The effect I am trying to achieve is the following: Pin the #hero element (with pinspacing) for the duration of the timeline. When that has finished, pin the #hero element (without pinspacing) so that the #content element scrolls over the top of the #hero element Cheers
  3. That's it. Thanks so much. I thought it must be something annoying like that. And yes, looking back, it wasn't exactly the clearest brief ?
  4. Hi, I'm having trouble with scrollTrigger pin order. The sidebar pin end is calculated before the pinSpacing of the other scrollTrigger is taken into account. I've seen the below link but it looks like they are created in the correct order but it actually doesn't seem to make a difference which is created first. I've tried refreshPriority but that doesn't seem to help. I'm probably just make a stupid mistake but I can't figure out what it is.
  5. Hi, Is it possible using staggerTo to change the stagger value for each iteration so that it increases/decreases. So for example the stagger value would decrease .1 for each element Something like: .staggerTo('element', 1, {autoAlpha: 1}, x -= .1 ); Many thanks,
×
×
  • Create New...