Jump to content
Search Community

mary92

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by mary92

  1. 6 hours ago, GreenSock said:

    Hm, it's kinda tough to troubleshoot blind - it'd help a lot if you could post a reduced test case in codepen or something.

     

    Oh yes sure - here it is. Animation for one element is again smooth but when you start clicking at all elements at the same time, it's not good anymore.

  2. Hey. In my project I have few hotspots that change smoothly on click. The problem happens when I quickly click at more then one hotspot - animations don't work well anymore, for example some elements stay visible although I use autoAlpha: 0 for them. Is it possible to improve that with greensock tools or I should just prevent click event until function is done for one element? Thanks in advance!

     

     

    See the Pen WJXwgK by anon (@anon) on CodePen

     

  3. Hey,

    '

    I would like to change position of element ".hotspot"  based on their additional classes ("hotspot-left", "hotspot-right"). Here's the example to give you the general idea (of course jQuery function hasClass doesn't work):

     

    $(".hotspot").hover(over, out);
    TweenMax.set(".popup", { autoAlpha: 0 } );
     
    function over(){
    var overTl = new TimelineMax();
    overTl
    .to($(this).hasClass("hotspot-left"), 0.5, { x: -20, ease: Power2.easeIn } )
    .to($(this).hasClass("hotspot-right"), 0.5, { x: 20, ease: Power2.easeIn } )
    .to($(this).find(".icon .group"), 0.3, { fill: "#fff", ease: Power3.easeIn } )
    .to($(this).find(".popup"), 0.3, { autoAlpha: 1, ease: Power4.easeIn } )
    .fromTo($(this).find(".copy"), 0.3, { y: -20, autoAlpha: 0 }, { y: 0, autoAlpha: 1 } )
    }

     

    Also, I want to run first two tweens of TimelineMax at the same time - can do this by adding 0 at the end, as I remember?

     

    Thanks in advance! 

     

     

  4. Yes, the solution is great although it is not smooth. Also full-screen background images are jumping during a scroll. jQuery mousewheel plugin seems quite sensitive - it can scroll to third or even fourth section on small move of finger at the starting point. It is already too high level for me to fix ;-) I’m doing small content animations in a meantime.

     

    The solution is great for beginners cause I can manipulate the order and time of tweens with ease!

    • Like 1
  5. 14 hours ago, Visual-Q said:

    Here's an example of page piling from a previous discussion that uses scroll majic with pins that may help get you started. 

     

    See the Pen LQzmZP by Visual-Q (@Visual-Q) on CodePen

     

     

     

    Hey, there's something I don't get... Is it any difference between ScrollMagic and ScrollMajic? Google doesn't provide an answer and  Peter Tichy  uses ScrollMagic in his tutorials. Tough stuff :-)

     

    @Shaun Gorneau  maybe you could explain? 

  6. Hey, thanks for advices. I am pretty new to gsap and feel excited by possibilities it gives.

     

    Currently I am trying to make more fancy, faster but still smooth scroll between slides, based on this example, but well, I find it hard to achieve smooth parallax effect due to a fact ScrollMagic is not used here:

     

     

    See the Pen kDvmC by bassta (@bassta) on CodePen

     

     

    Any advices, examples?

    Thanks in advance!

  7. Hey,

     

    I am looking for a codepen or site example with scrollmagic parallax through sections and static/fixed sidebar navigation. The navigation is 100% of viewport, never hides but has different content for each section; also it has arrows up and down that ofc allow to move between sections.

     

    Maybe scrollmagic pinning and/or toggleClass is enough but I am confused. Any advice?

     

    Thanks in advance, 

    Mary

×
×
  • Create New...