Jump to content
Search Community

Catalin R.

Business
  • Posts

    93
  • Joined

  • Last visited

Posts posted by Catalin R.

  1. Hi,

    Into a complex project I need for the first section an effect made with ScrollTrigger plugin.

    I can't use once method (once: "true") because it's difficult to avoid a jump.

    I've put a class on body tag using onLeave method and when I have this class I want to change end to be: end: "top top".

    Is that possible? I want to have this effect (scrub and pin) only once.

    Thanks!

    See the Pen NWLwgLR?editors=0010 by ZenTao (@ZenTao) on CodePen

  2. Hi @Rodrigo,

    I thank you for your availability! I know that the slider doesn't work if I change the flex direction, and I've tried to make some changes into Loop helper function but it's not so easy, I need more time for that! But I've made something interesting! I linked this slider to a container that contains descriptions for each slide! It works nice! See attachments, please!

    slide-1.jpg

    slide-2.jpg

  3. Hello,

    I have a draggable slider where I use draggable and inertia GSAP plugins. I don't know where my mistake is into my code, I can't see all items (last 4) by dragging.

    The "div's" with class "box" are links inside of a navbar (menu, header), one of them has class "active" and white colored. And, I don't know which gsap method to use when a page is loaded, the item with class "active" to be visible (slider dragged properly)!

    If anybody has a little time, please help me!

    Thanks!

    See the Pen jOBByXa?editors=0010 by ZenTao (@ZenTao) on CodePen

  4. Hi,

    I have a problem with a simple timeline. The widget "Title 03 " has not the same effect when I resized the browser. But, the two those horizontal long lines have the right behavior. What's wrong with that widget "Title 03"?

    I've made two pens as examples:

    and

    See the Pen oNxVNYj?editors=0010 by ZenTao (@ZenTao) on CodePen

    In the second pen, why the timeline doesn't run again on resize?

    I'm trying to find the right code for resize.

    Can anybody help me out, please?

    Respectfully,

    Catalin R.

    See the Pen ExKMYBM?editors=0110 by ZenTao (@ZenTao) on CodePen

  5. I have some lines of code, actually a timeline with 5 tweens. I don't know how to make a timeline GSAP to work on resize! Should I kill, pause, restart or anything else from great GSAP methods? It's about a simple timeline.

    Thnaks!

  6. Hi Zach,

    I can't put those two long horizontal lines inside of the widgets. They are visible on other sections too, into a big project. The point is: they are always visible and changing their position. And, it's not about those two lines only, all elements are not in the right position on resize. How can I use properly 4 variables into a timeline?

    Thanks Zach! I hope you are not angry on me! Hope so!

  7. Hi Zach,

    It's a simple timeline where I use some variables. Those variables a changing their values when the browser is resized. A quite simple timeline GSAP cannot be made to work for all devices? Your function doesn't work for resize.

     

  8. Hi,

    This resize doesn't work properly, I don't get the same position for each element animated with that timeline. I've tried many times to make the code fore resize but without success, for that I'm here on GSAP forum.

    And, I have two long horizontal lines with classes "line-01" respectively "line-02". After animation (from top: 100%) they have new position. I need the same position (relatively to those titles) to be kept on scroll.

     

  9. Hi Zach,

    I have two goals. First, when I resize the browser (responsive part) I need to have the same position for each element set with GSAP timeline.

    And second, on scroll I need to have those two horizontal lines (line-01 and line-02) in the same position, near Title 02 respectively Title 01.

    Let me know if I was clear about these goals.

    Thanks!

  10. Hi,

    I have a big problem on every project when I resize the window. What should I do with each timeline or tween on resize? I need to have the same effect.

    And I need an advice, how to make (see my topic) on scroll, to have for horizontal lines the same position, relative to those titles?

    Thanks!

    See the Pen vYGbZXg?editors=0010 by ZenTao (@ZenTao) on CodePen

×
×
  • Create New...