Jump to content
Search Community

qqignatqq

Members
  • Posts

    69
  • Joined

  • Last visited

Everything posted by qqignatqq

  1. I'm sorry. Translated with deepl and didn't read what he translated. Yes, I meant "downloaded 2 times". In Russian "downloaded and uploaded" - consonant.
  2. No. Alas. I checked it on the image. If you put the image on the site and place the same image in the iframe, it will be uploaded 2 times
  3. Hello. I have a site, I have an iframe site with the same domain name. I don't want to load gsap twice. In order to send jquery to an iframe I use this code: var iframeBody = document.getElementsByTagName("body")[0]; var jQuery = function (selector) { return parent.jQuery(selector, iframeBody); }; var $ = jQuery; How to pass gsap to iframe?
  4. Sorry, I didn't see the message... Okay, thank you. I'll deal with it. While I'm trying to understand why the scroll is acting strangely when changing direction.
  5. Thank you, Mikel, but this scroll doesn't work like that. There is a scrollbar in it, but not in your version.
  6. Thanks for the advice, but I still haven't figured it out. I'll sit back and think about how to make a smooth animation in the window. If I find a solution, I will definitely put it here. Maybe someone else will need it
  7. Hello. I'm trying to set up this post for myself: https://greensock.com/forums/topic/17300-smooth-page-scroll/ , but I can't do it I've been trying to make sure that the smooth scrolling doesn't work in body but in div. I shouldn't have overflow on my body site. I understand that the problem is with these lines: var html = document.documentElement; var body = document.body; I tried to write body = $('.mywindow'); but I have an error. Can you tell me if this is possible at all? Thank you https://jsfiddle.net/cjenr2qg/
  8. Hello. I'm trying to do as on https://mgimo.ru . There are 3 blocks and they are of different heights, but they scroll at different speeds and come to an end at the same time. I tried to do it, but I failed. And for some reason, when you cover a distance of 200%, the scroll height changes. Can you tell me what to do, that it worked well? https://jsfiddle.net/d8vhx5jc/1/
  9. Hello. Can you tell us what to do when there are a few scrolling scrolling pages? How do I make all scrolling smooth? https://jsfiddle.net/drkrol/7k1qh8wu/
  10. Whoa! Whoa! Thank you so much for your decision! I know about the lack of a scroll on the touch devices. I will process them through .swipe(). Thank you again!
  11. Thank you for the link. I saw it before I even created this post. I can't adjust the height of the step in that version. Firefox will have one height, Chrome will have another height, and Edge will have a third height. This is due to the fact that it does not work with wheel(), but with scroll(). It's okay for me to have a screen that goes beyond that. It's just a beta version))))) I shot a video showing animation on my website and animation on maxlepinskih. I put my code on his site. The essence of the video is that in its version, if you scroll quickly, but the screen scrolls the distance you need, that is, the sum of all the steps will be summed up. And in my case, if you scroll quickly, the previous animation ends and a new one starts. That is, it is not summed up, and there are jumps. In my video it is visible. When I open my website and try to spin quickly, it seems that I spin the wheel very slowly, like jumps, although I spin the mouse wheel very quickly. How do I make a second mouse wheel just prolong the distance? https://yadi.sk/i/2uJ8dPQ_4CvoZw
  12. Hello. I'm trying to do my scroll animation. I've had such a problem that when I scroll more than once, the animation is jerky. How do I make sure that when I scroll more than once, the animation is simply extended to a distance equal to the number of times I scroll? I have this now: https://jsfiddle.net/drkrol/mtvhrdgb/8/ I aspire to this: http://maxlepinskih.com/prices
  13. That's what I'm looking for. This is the form of sending the letter to the post office and I need the result of sending. The user can click on the "Send message" button several times and I need the animation to work every time. How can I reset the animation and restart it? I tried to put "clear()" in different places, but I failed. If the form is valid and the "NO" animation is not finished yet, it should end and the "YES" message should appear I'm sorry if I'm not clear, I'm using a translator. Композиция 1 (1).mp4
  14. In your version, I have to wait for the animation to reopen, and in my version, restart() is triggered. https://codepen.io/anon/pen/YMvbeo ScreenRecorderProject1 (2).avi
  15. Thank you. Can you make the start up through restart? The user can't wait for the animation to finish.
  16. Hello. Can I gather animation and then substitute a variable? In the Codepen example, if the field is empty, "No" appears, but if the field is filled in, "Yes" should appear. How do I do this? https://codepen.io/anon/pen/YMvbeo
  17. GreenSock Jack! Да!!! Это решает мою проблему! Огромное вам спасибо!!! Из России с любовью!✋ I'm sorry that I placed it in the wrong branch, I got confused...
  18. How to specify the value of a variable after the end of the animation? var myvalue = 1, loadanimate = new TimelineMax(); loadanimate.to('.logo', 2, {opacity:1, delay:0.2}) .to('.layer-white',0.7, {x: "0%"}) .to('.gotscroll', 0.15, { y: "-=10px", yoyo:true, repeat:5, delay:0.1}); I have this code. I need the variable "myvalue" to take the value "2" after the animation "loadanimate" is over. 1) How to do this? 2) How to make myvalue take the value "2" after the animation of ".layer-white" is over?
×
×
  • Create New...