Jump to content
Search Community

hallibus

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

1,398 profile views

hallibus's Achievements

0

Reputation

  1. Hi guys, I have the following problem: During an animation, parts move one pixel in Safari. In Chrome I could not detect this behaviour. So far I have tried the following, unfortunately without success: CSSPlugin.defaultForce3D = false; I hope one of you can help me. Many thanks in advance.
  2. Guys, thank you very much for your answers. Could you please explain the SteppedEase solution any further? Thanks in advance!
  3. Hey guys, I have the following setup: https://codepen.io/anon/pen/WgzxXg When you click on the first button, you proceed to the second slide. There is a number (5), which should count down to zero, then proceed to the next slide without any user interaction. How can i do that? Thanks in advance, any help is appreciated!
  4. Okay I don't know if this is the right way to do it, but I solved the problem via a simple function: function pauseLeft() { tl.pause(); } var dummy = document.getElementById('dummy'); tl = new TimelineMax({repeat: -1, paused: true}); tl .to(dummy, 0.5, {x: '+=60', ease:Power3.easeOut, onComplete:pauseLeft}, 0.5) .to(dummy, 0.5, {x: '-=60', ease:Power3.easeOut, onComplete:pauseLeft}, 1.5); Thanks anyway
  5. Hey guys, I want to pause the timeline when it's completed. tl = new TimelineMax({repeat: -1, paused: true}); tl .to(dummy, 0.5, {x: '+=60', ease:Power3.easeOut}, 0.5) .addPause() .to(dummy, 0.5, {x: '-=60', ease:Power3.easeOut}, 1.5) .addPause(); The first addPause() works, the one at the end doesn't effect the timeline at all. The timeline is paused on load, a click on a button starts it. It pauses on the first addPause, a buttons starts it again but it doesn't pause on the last addPause. I hope it's somehow clear what I'm trying to achieve I'm thankful for any help.
  6. Hey guys, I'm new to GSAP and was wondering if there's an easy solution to start the timeline AFTER all assets/images have been loaded. Maybe even with a circular preloader e.g. Thanks for your help
×
×
  • Create New...