Jump to content
Search Community

GIGDigital

Members
  • Posts

    3
  • Joined

  • Last visited

GIGDigital's Achievements

  1. Hi Cassie, That's amazing, thank you. Just a question about the numbers in the console log, they're coming out as like 0.4245833333333333. I'm assuming I wouldnt do tl.addLabel("accordion-1", 0.4245833333333333)? With the current setup could I just add a label like so tl.addLabel('label-1', 1).addLabel('label-2', 3) and so on? Thanks for your continued help here its really appreciated.
  2. Hi Cassie, Thanks so much for your help. Is the change to the timings so that the duration of the .from() matches the repeat number? If I were to try to expand on this ever so slightly, and want to add a label between each repeat (so I can add click events to scrollto them so they work like a regular accordion too), is that something I can achieve in this format? Or would I need to write each from and to our separately and then add the labels in the TL? Thanks! - Rob
  3. I'm looking to create a pinned accordion that opens and closes each row one by one as you scroll. I've used stagger to get to the below, and I know thats not correct, however I'm at a loss as to where to go next. I want item 1 to open, then item 1 to close, then item 2 to open, item 2 to close and so on. Whereas at the moment item 1 opens, then item 2 opens, then 3, then 4, then 1 closes, etc etc. Thank you in advance!
×
×
  • Create New...