Jump to content
Search Community

Page change transition

kmytor test
Moderator Tag

Recommended Posts

Yes, as far as all the transitions go. The new page content is an AJAX call. From a workflow standpoint you would

 

On click (of something leading to a new URL ... make sure your handler does event.preventDefault() )

 

1. Tween out anything you want that's on the page currently

2. Make your AJAX call for the new content

3. Modify the current URL

4. Tween in anything you want tweened in

  • Like 2
Link to comment
Share on other sites

23 minutes ago, Shaun Gorneau said:

Yes, as far as all the transitions go. The new page content is an AJAX call. From a workflow standpoint you would

 

On click (of something leading to a new URL ... make sure your handler does event.preventDefault() )

 

1. Tween out anything you want that's on the page currently

2. Make your AJAX call for the new content

3. Modify the current URL

4. Tween in anything you want tweened in

 
all i find with ajax is with Jquery i would like to do it without jquery do you have any guide? to implement it with gsap
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...