Jump to content
GreenSock

sawacrow

How I Detect Visible Items On Seemles horizontalLoop()

Moderator Tag
Go to solution Solved by Cassie,

Recommended Posts

Hello!

I want to marque images but i should select visible items and their orders.

Actually i want to make like this:

For example: visibles center element should be biggest and center, the ones next to the middle one seem one size smaller and the next rows one size smaller.

 

 

See the Pen ZELPxWW by GreenSock (@GreenSock) on CodePen

Link to comment
Share on other sites

  • Solution

Hi there - this modified demo gives you the center 'active' element.

You could change styling in the onUpdate callback - hope this helps!

See the Pen gOvvJee by GreenSock (@GreenSock) on CodePen

  • Like 3
Link to comment
Share on other sites

  • 1 month later...
On 1/30/2023 at 3:19 AM, Cassie said:

Hi there - this modified demo gives you the center 'active' element.

You could change styling in the onUpdate callback - hope this helps!
 

 

Thank you so much.

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.
×