Jump to content

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


  • Content Count

  • Joined

  • Last visited

Everything posted by rgfx

  1. Hi, I re-found this library that was recently revamped and it appears to work in IE using intersect observer... demo: https://russellgoldenberg.github.io/scrollama/basic/ repo: https://github.com/russellgoldenberg/scrollama info: https://pudding.cool/process/introducing-scrollama/
  2. rgfx

    GSAP: 1000 Posts

    @dipscom, Thanks for all your help over the years and keeping it funny. Looking forward to many more posts.
  3. Thanks, Just wanted to make sure the was no clear solution. I didn't notice that GSAP was using tanslate3d then switching to 2D good to know. Finally made it to level open performance tab, a good milestone if you ask me
  4. Hello, Been getting my head around scrolling parallax effects. Keep reading that using translate3d and modifying z and scale is the performant way to go. I don't like this idea as it doesn't work in IE11. I think animating y or yPercent, and changing speed to create the depth is my best cross-browser option. Seems one uses translate another matrix. Maybe there is a way I don't even know about. What do you suggest I do for best performance? Thanks.
  5. Hi, Thats cool, what about scrollLeft for some reason it breaks my flexbox.
  6. @OSUblake That bitwise solution is really cool man, Really wanted to lay down the foundations before I get crazy with the scroll animations. Thanks for putting me at ease. raF it is. About resize functions. I really don't like srcset and pictureFill for responsive images. Srcset has scaling down issues, and picture fill is like 2000 lines of code. So I decided to make my own , my solution still needs a placeholder, but am almost there. Its not like srcset or pfill has good lazy loading either. I was messing around with various resize functions I found this one
  7. Hey guys, Firstly, I read that GSAP uses raF for animation, hence you don't need to use raF while using it, even on scroll functions?? This seems strange to me, as controlling functions outside of tweens/timelines would be aggressive. For instance, let say am doing something like below. I am being redundant, isn't this how it should be done? Let's say it was function with more complexity. Before you show me some trick to change Bg color with yoyo and a function inside bgColor. Even though I would be curious. codepen const random = (min, max) => Math.f
  8. Nice, Thanks Blake Setting visibility with elements that are not in view is a really good idea. Doing parallax images in only half of my battle. IE still doesn't like that method either, think am going to have to use the progressive enchantment spell. (∩`-´)⊃━☆゚.*・。゚
  9. I hear you, I would have to investigate all of its features, but it seems like a few options would go a long way. 1. Parallax data-attribute offset control. 2. When to start and stop animation. 3. Some methods for controlling how scroll Y value changes a integer. Going to start a Kickstarter campaign However part of me doesn't want to see text spinning everywhere I go. Maybe it best we don't open the scroll magic box.
  10. @PointC Hi, This should work in ie11, but doesnt. I tried adding a polyfill https://github.com/w3c/IntersectionObserver/tree/master/polyfill no dice. Arden's pen doesn't work in ie either. Perhaps the issue may not even be with IntersectionObserver. Must investigate. I am already using IntersecionObserver for lazy loading and works great. I have been using https://github.com/camwiegert/in-view for cases like these. It uses MutationObserver, works in most browsers but IntersecionObserver if far more performant. It would be nice to use this for some scrolli
  11. Not just safari 9, doesn't work in ie 11 or below. Which is above 13% of the market. I keep seeing people use ClipPath, I would love to use it. However, 2 out of 10 people will see it as broken. Maybe am wrong, let me know.
  12. @OSUblake Thank pal, I was messing around with slight rotations as well things were not going very well clientX/Y feels like butter.
  13. Hi, Messing around with some parallax effects and noticed that my overflow-ed elements are throwing off my offset. Can I get offset of an element within the event somehow or a correct offset? Thanks
  14. Yup, still using gulp for now. Using comments for anything rather than a comment or commenting out doesn't seem right. You assumed correctly, there are other plugins out there. Found this guy https://github.com/viktorlarsson/gulp-inject-svg.
  15. I see, good idea. be sure to share it. certainly curious.
  16. Clever menu, can't say I've seen it before... I wonder if you will have to tell people to drag or is intuitive?
  17. @OSUblake Thanks, pal you are gentleman and scholar. My finest teacher of the web. Bummer about SVG sprite sheets. It seemed like a good idea to serve only one file. I guess with GZIP there isn't much to be gained. Need to find a solution for cleaner HTML now that am going to start to inline everything.
  18. Weird cause I can access it fine without a loop. Too many hours coding need to rest, I'll see what I can do in the morning with a fresh head.
  19. Been trying to target a class inside a SVG spite sheet for a couple of hours now. I can get as deep as USE. I am at a loss as how to get deeper then the first child. It can get to work outside a loop easily, still getting my head around how to use them. Hope I have not reached my question quota
  20. Check this thread out, just passed through this myself.
  21. @OSUblake Thank you very much, just what I was looking for.
  22. If I put them in a master timeline I won't be able to alter their initial progress. I kinda just wanted to hear that using a loop was my only option. That there isn't a method in JS, like SelectAllArray or something. Thanks
  23. Probably don't understand something. But I don't want to target every timeline, as I have many timelines starting and stopping as you scroll down the page. Also discovered that exportRoot() with my code timelines[0].progress(0.3); seems to prevent my "tlTest" timeline from firing until the "timelines" is complete. Any clue?
  24. Hi, I get a "timelines.pause is not a function" when I try to target an array of timelines all at once. I know I can target them like so. timelines[0].pause(); timelines[1].pause(); but I would like to do something like this. timelines.pause(); like always, not a GSAP issue rather my lack of js knowledge So grateful to you guys.