Jump to content
GreenSock

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

yulia

Members
  • Posts

    24
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

yulia's Achievements

Newbie

Newbie (1/14)

5

Reputation

  1. Thanks! I have already got used to do everything with the help of greensock) and did not even check the ready-made solutions ?‍? This works perfectly: sticky-kit.js
  2. Thanks! But this property has poor support and it is not suitable for my case. I have a menu that when scrolling should stick up and be in view. But this menu should not overlap the block with the text.
  3. Hello! I need the "absolute" element to become "fixed" when scrolling 120px. After the trigger, this element must again become "absolute". But, if you scroll in the opposite direction - up from the trigger, the element must again become "fixed" until it reaches its original position. There he must again become "absolute". In my project it works only in one direction - before the trigger. And nothing in codepenio works at all Help, please
  4. Exactly what I need! Only without a button Autoplay. Added to my slider, now it works perfectly Thank you ?
  5. That is, I can not do everything within one timeline? Need to break into several timelines?
  6. Hi guys! Another question with the same slider https://codepen.io/yuliarushay/pen/EJqVEz Is it possible to add slide autoplay? How to do it? I see options only with slide navigation buttons, but not with Forward and Back buttons. Help me please)
  7. @Dipscom Jesuschrist ? what a shame! I have to do hara-kiri ... Love you ?, thanks for the help!
  8. Thanks for such a quick reply! I was really stupid ? But now, when I added new transformations to the slides, the slider again does not work
  9. Hi guys! Help again, please I can not understand why this slider does not work. Here is a simplified version codepen.io demo. By clicking on the buttons, the red area should be increased or decreased. The code ignores pauses and immediately increases the red area to the size of the second slide, and then does not respond to clicks back and forth. What am I doing wrong? :(
  10. Спасибо tweening - это супер! I made two super super cool sliders on this page using this plugin. Many thanks again for your help ❤️
  11. Hi guys! If it is interesting to look at the result, here it is
  12. Hello! One more, I hope last, question. How to add autoplay the next part in such code? I found examples only for playing different timelines :( Please, help
  13. Hello! I had another question. Now the animation is playing on the scroll and on the click forward and backward. When clicking Prev btn animation plays reverse to the label, but the employer wants the animation to start play from the label. If I change reverse() to restart(), then when I click Prev btn, the entire timeline begins playing from the very beginning not from label. Please, help! This is how the project should look like And now it looks like that, but the slides are played incorrectly on the Prev btn. They show the animation in the opposite direction, and not from the beginning of the slide/ $('#next').on('click', function() { mainPage.play(); }); $('#prev').on('click', function() { mainPage.reverse(); }); $('body').on('mousewheel DOMMouseScroll', function(e) { if (typeof e.originalEvent.detail == 'number' && e.originalEvent.detail !== 0) { if (e.originalEvent.detail > 0) { // Down mainPage.play(); } else if (e.originalEvent.detail < 0) { // Up mainPage.reverse(); } } else if (typeof e.originalEvent.wheelDelta == 'number') { if (e.originalEvent.wheelDelta < 0) { // Down mainPage.play(); } else if (e.originalEvent.wheelDelta > 0) { // Up mainPage.reverse(); } } });
  14. @mikel I do not know, in my animation all these parameters work ? But thanks for another quick and useful advice! It was all about the infinite 'repeat: -1', I changed it to a limited number of repetitions and then the whole animation worked again. Love you! ?
×