Div appear at the bottom (Superscrollorama)

Asked

Viewed 179 times

6

I have a problem at Scrollorama. I wish the div started showing up right at the bottom, but she’s only showing up when I’m halfway through the site. The class:

$(document).ready(function() {
   var controller = $.superscrollorama();
   var scrollDuration = 200; 
   controller.addTween('#fade', TweenMax.from( $('#fade'), .50, {css:{opacity:0}, ease:Quad.easeInOut}), scrollDuration);
});
  • 2

    Is it possible to make a jsFiddle with an example? or link to see the live problem?

  • I used these Greensock classes in Flash, in Action Script 3, I didn’t even know they made a Javascript version! As Sergio mentioned, try to reproduce the problem in a jsfiddle, because it is very hard to imagine what is happening. Note that in jsfiddle there is a tab "External Resources" where it is possible to add external libraries in addition to jQuery, then it is possible to make a functional example.

  • Put HTML + Javascript here to see what happened.

1 answer

2

Browser other questions tagged

You are not signed in. Login or sign up in order to post.