Jump to content
GreenSock

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

Frans

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Newbie

About Frans

  • Rank
    Newbie
  1. Frans

    disable reverse

    Hello, i am new to superscrollorama. I want to disable an animation when you scroll up. I found the code on the website but it doesn't work for me: The 5th parameter is reverse, which you can use to disable reverse animation. controller.addTween('#fade', TweenMax.from($('#fade'),.5,{ css:{opacity:0}}), 200, false); // prevent backwards animation of the element What am i doing wrong? Frans
  2. Frans

    Noob needs help

    Ha Rodrigo, Thanks man i finally got it yea. I forget to add position: relative; , so stupid of me. Thanks for your help. Frans
  3. Frans

    Noob needs help

    Thanks for the quick reply Rhernando. But unfortunately it didn't work. I pasted your code but only 1 of the 2 images gets an animation. I tried placing them in different div's or giving them other names but nothing works. Can you please take a look at my code. Thanks, Frans My html is now: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>SUPERSCROLLORAMA - Simple Demo #1</title> <link href='http://fonts.googleapis.com/css?family=Luckiest+Guy' r
  4. Frans

    Noob needs help

    Hello, i am an absolute noob with javascript and superscrollorama. I am trying to fly in a few images when you scroll down the page. The first images needs to fly-in from the left and the 2nd from the right. It worked for 1 image but when i try to make other images fly-in non of them work (or only the first one). Please help me! html: <h2 id="fly-it"><img src="img/image1.png"></h2> <h2 id="fly-it2"><img src="img/image1.png"></h2> script: controller.addTween('#fly-it', TweenMax.from( $('#fly-it'), .5, {css:{right:'1000px'}, ease:Quad.easeInOut}
×