Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Victor Work

Transition Between Pages with GSAP using BarbaJS

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

Hello Gsap'ers,
Another post about the function so requested: Transition between pages using our beloved GSAP.
But unlike the others, instead of questions, I am bringing some answers.


I decided to make a Simple site template with SPA, which I believe will help everyone who is looking for solutions to these tools without having to use a framework.

The activation of transitions is very simple: just click on the photos to go to the corresponding page.

I hope it's useful.

 

Ps¹: It is necessary to use the BarbaJS lib
Ps²: Some settings are still missing and you can optimize the codes, best experience in Debbug Mode View
Ps³: I'm using the translator hahaha

 

See the Pen full by Noturnoo (@Noturnoo) on CodePen

  • Like 5

Share this post


Link to post
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

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. 


  • Recently Browsing   0 members

    No registered users viewing this page.

×