Jump to content
Search Community

Robhern135

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Robhern135

  1. Hi there,

     

    Is it possible to pin a div that isn't fixed to 100vh, stop the page scrolling but scroll through the TimelineMax, and then begin scrolling of the page again after the TL has finished?

     

    Not only pausing the page scrolling (as there's content underneath the animating elements that I want to continue to, not scroll on top of), but how so I also avoid the scene hijacking my styling (ie margin, position, padding etc), in the codepen attached you can see that the element moves to the left of the screen then pops back when it's unpinned.

     

    Thanks in advance!

    See the Pen PoqxoBx by Robhern135 (@Robhern135) on CodePen

  2. Thanks for your great help so far, I've made great strides today!

     

    I understand that ScrollMagic isn't a GSAP product, but I figured asking on here would be a great bet as the products are used so closely together so commonly.

     

    I'm looking to achieve the same as above, the elements timelines triggering separately from the same TL, but instead of on click now using Scrollmagic trigger points and scenes.

     

    I've got this far 

    See the Pen wvwEXbX by Robhern135 (@Robhern135) on CodePen

     but it looks like I've not understood the foreach-ness of the scenes/controllers as the indicators are all stacked on top of each other and triggering all at once.

     

    Thanks! 

  3. Hi,

     

    I'm trying to have the same timeline apply to multiple elements of the same classes on a page, but only when they're clicked. 

     

    In time I'll integrate ScrollMagic and have this happen only when they're in the viewport, but for now I'm just working on when they're clicked for clarity.

     

    I've got this far so far as in the Codepen () but there's some strange things going on, any help would be much appreciated.

     

    I've condensed my example down somewhere in the timeline changes for simplicity, hope that helps.

    See the Pen WNegMMJ by Robhern135 (@Robhern135) on CodePen

×
×
  • Create New...