Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Pusher

Animation based on Browser height

Recommended Posts

Hi there,

 

I am starting from scratch here so apologies. 

 

I have been asked by a client to trigger an animation (similar to a banner ad) based on the browser position.

 

It would be great if the animation then reversed on scroll up. :)

 

Two Q's...

 

1. Is this possible with Greensock?

2. Where do i start?

 

My Codepen example is an attempt at recreating the site that the animation will eventually live on.

 

Thank you so much for any help,

 

Phil

See the Pen LpXVQZ by phillip_vale (@phillip_vale) on CodePen

Link to comment
Share on other sites

Awesome, thank you PointC! That looks perfect! :)

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