Jump to content
Search Community

Page Transition Strategy

abattenburg test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi GSAP Forum,

 

I apologize if this has been covered, but I was curious what the general approach is for animating in new pages. A lot of design agencies have this effect where on a preloaded site, a new page will be animated into the viewport and then the URL updates to reflect the new page. This can be seen all over but www.hellomonday.com and www.10x16.com are both examples of what I’m talking about.

 

In a different thread, Diaco posted this codepen: , which shows transitions using the scroll to plugin and placing pages off the screen.  Is that the general approach? Placing pages out of the viewport and then animating them in when they are needed with a higher Z-index? I used that strategy when creating a nav that comes down from the top, but wasn’t sure if it is the best way to handle whole pages. Is the URL change just signifying an anchor?

 

Thank you so much for the help and sorry about basic questions, still wrapping my head around GSAP.

 

See the Pen yYradO by MAW (@MAW) on CodePen

Link to comment
Share on other sites

  • 1 year later...

Hi Shaka,

 

It sounds like you may be referring to a Single Page Application (SPA)

Definitely do some google searching on those with GSAP.

You may also need some other framework that was designed to handle state changes and such like React / Vue / Angular

 

These 2 threads may help you get started

 

  • Like 3
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...