Jump to content
Search Community

Trying to learn Superscrollorama...

joe_temp 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, I am a total noob to jQuery and just learned what GreenSock was today.

 

I would really like to use Superscrollorama for a site I'm building but I don't totally get it.

 

I'm attempting to play with this example but nothing is happening:

 

https://github.com/johnpolacek/superscrollorama/blob/master/simpledemo.html

 

When I save this as an html file and open it up, it's just black words on a white screen. Please help!

Link to comment
Share on other sites

Hi and welcome to the GreenSock forums.

 

Due to the amount of GreenSock-related needs our users have, we don't go too deep into supporting 3rd-party tools like SuperScrollorama. Its a great tool, we just need to focus on the GSAP API.

 

For SuperScrollorama help try: https://github.com/johnpolacek/superscrollorama/issues?state=open

 

That being said, you need more than just the raw html source from the page you provided.

 

Go to this page: https://github.com/johnpolacek/superscrollorama

Click on the "download zip" button (bottom of right sidebar)

 

Now you will have the full SuperScrollorama source and example files to test in your browser and edit.

 

Have fun!

Link to comment
Share on other sites

Since you have little experience with javascript/jquery and GSAP it may be a little difficult to grasp at first. As Carl suggested above you should download the superscrollorama zip from github and run the html file in your browser and look at the source code. The best way to start is just read the code, try to make sense of it and make some changes. The triggers for the animation are controlled by scrollorama and the animation itself is all GSAP. Read all the GSAP documentation you can so you know exactly what is going on and what control you have (a lot!). There is a learning curve for sure, but stick with it and you won't be disappointed. 

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