Jump to content
Search Community

Pinning onLeave

TrulyNewbie test
Moderator Tag

Recommended Posts

Hi, 

I've been trying to figure this out all day.

I have a pinned section with the same div name. That works.

When I scroll away from the pin, I want it to fade out (onLeave) as the new one settles in. How can I make this happen? 

Because of the divs having the same name (ac f repeater field), I know it has to be and array of some sort but I just can't figure it out. I tried to make a array timeline with a let = leavesection..

 

Please help when me you can. Thank you.

See the Pen oNLrzje by NewbieRuby (@NewbieRuby) on CodePen

Link to comment
Share on other sites

Hi Zach, On WordPress I have a repeater field that I’ve pinned. It works. But I’ve chosen to not have a background color on the Main pin because I want a stacked affect. In side the pinned div is a column for an image. I basically want the image to disappear as I scroll to the next pinned element. 
 

is there a way I can privately send you a link to my site so you can see what I mean?

 

thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...