Jump to content
GreenSock

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

vvlestat

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by vvlestat

  1. Got it! Thanks a lot guys. For future references this is what I just added: TweenLite.to(window, 55, {scrollTo:{y:32000, autoKill:true}});
  2. Thanks Jamie, but it stops just after it starts. What I did is just replace the code and now it looks like that: // save a reference to that automatic scroll tween window.fullWindowScroll = TweenLite.to(window, 55, {scrollTo:{y:32000}}); window.fullWindowScrollTimeOut; window.onscroll = function(e) { fullWindowScroll.pause(); fullWindowScrollTimeOut = setTimeout(function(){ fullWindowScroll.play(); }, 3500); } } this.setupSection1 = function () { var pinAnimations = new TimelineLite(); var animDuration = 3500; $('#section-1 > div.background-color:eq(0), #section-1 > ul.texts:eq(0)').css({ display: 'block', opacity: 0 }); Here is the test site - http://server1.glide...r.com/paralax2/
  3. Thanks a lot. Last thing if I may. This is what I placed as code after the page is loaded and just before the first slide starts (london slide) TweenLite.to(window, 55, {scrollTo:{y:32000}}); } this.setupSection1 = function () { var pinAnimations = new TimelineLite(); var animDuration = 3500; $('#section-1 > div.background-color:eq(0), #section-1 > ul.texts:eq(0)').css({ display: 'block', opacity: 0 }); pinAnimations .append(TweenMax.to($('#section-1 > div.background-color:eq(0)'), .5, {css:{ opacity: 1 .............................. But now if you touch the mouse scroll it goes manual, but it takes forever to scroll, as it looks like it gets the predefined values 55 seconds for 32000 pixels. Can I avoid that and if you touch your scroll to switch to its default settings (3500 ms duration) Cheers!
  4. I think I figured it out. The first number is the speed. Please correct me if I'm wrong Thanks!
  5. Thanks a lot. I'm not a programmer but I think I saw light in the tunnel. Check it here - http://server1.glide-server.com/paralax/ Here I set y:4000, but can I set the speed, as this is really fast? Thanks again
  6. Hi guys, I need your help for a project of mine. Please check this website - http://suggestopediabg.com/presentation/. We use greensock here and you have to scroll to see the whole action. But many users may not understand what to do, so I need an autoscroll instead of manual user scroll. Is that achievable and if yes could you please provide me with a code. Thank you very much!
×