Jump to content
Search Community

mimeartist

Business
  • Posts

    132
  • Joined

  • Last visited

About mimeartist

  • Birthday 06/05/1975

Contact Methods

Recent Profile Visitors

5,055 profile views

mimeartist's Achievements

  1. Thanks Rodrigo, I mistakenly had the autoKill outside of the scrollTo, like this... //DON'T DO THIS// gsap.to(window, { duration: 1, scrollTo: '#anchor' + jumpChapter, autoKill: true }); //DON'T TO THIS//
  2. Have searched around and have seen various topics about interrupting scrollTo, but they seem to offer bespoke versions of the gasp scrollTo plugin and are a few years old... What is the latest way to interrupt a scrollTo... e.g I've clicked a link to scroll to a point on the page, but then decided to scroll, is there a setting for this now, or should I just listen for a scrollwheel and then kill the tween? Want to keep it as simple as possible if I'm able.
  3. What's the simplest way of detecting what is the main section the user is on with scrollTrigger... e.g. if each section is stacked ontop of one another and 100% of the viewport height when the user scrolls? Love the new site by the way!
  4. Thanks Jack, clunky is my middle name - I'll use the targets for now, but agree I should be seeking out more elegant ways ?
  5. thank you, that works. Is there no other way of parsing a value using my for loop, as I may not want to use stagger as I'm going to be using it for things that also aren't splitText etc?
  6. Having a bit of a brain melt with this having not done any gsap for a while... i'm trying to see when each tween in a loop of stuff starts by returning it's index, or even just it's ID, so I can then get various values from it... I'm actually using splitText, but this is a very simple version of what I'm trying to achieve... how do I get the index of the for loop when each tween starts? Thank you!! https://codepen.io/mimeArtist/pen/yLQPxJg
  7. Ok, in this case I think it's better I not post any more pens as it's going to confuse things even more... they're all the same codepen which makes describing this even harder, so even though it's possibly not a gsap issue, it perhaps comes across as one because the embeds are acting strangely and giving false negatives. So.... 1. On this page we're on now, there are several (now 3 since your last post) embed code pens called Image Parallax (url ending /PoOpobM). 2a. The second of these code pens intermittently doesn't work in safari. 2b. On my daughters iMac the 2nd one doesn't seem to ever work with the mouse wheel scrolling. 2c. On my MacBook, it's intermittent with the trackpad scroll wheel (but more often that not it doesn't work) 3. When opening the codepen in a new window it works every time (only tested on my iMac)
  8. No... sorry... the two embed on this page are of the mountain parallax scroll demo, the first one works in the page but the second one doesn't. So I assumed they were different demos. However when I looked at the URL's they were the same. e.g I use the scroll wheel over the one at the top of this page, and it scrolls, but the second doesn't. The second embed (Posted Saturday at 01:12 AM) doesn't work but the first does. It obviously works when you click 'edit on codepen' and it opens in a new window.
  9. Just tried it again on my daughters iMac that has never been on this page, and it was working 'occasionally'... however it does work when you click and open it in it's own window?!? Sorry for possibly giving a false negative, but perhaps it's to do with the embed... one one occasion it worked when I clicked the 'rerun' button while embedded on the forum... they both work when opening in a new window. Update (as writing this) Was just about to post the two embeds to show the one that works and the one that doesn't when embedded and realised they're the same embedded URL... so it must be something weird going on with the embeds in the forum?
  10. This demo doesn't scroll on my Mac... also I'm a little confused about whether I've been using normalise or normalise Scroll... so will need to test my stuff again just to make sure I've not been testing without having it set etc... I think when normalizeScroll is correctly set the url bar in safari on an iPhone no longer shrinks, interestingly (From the documentation it previously stated this was not possible to stop from shrinking)
  11. The workaround doesn't work for me, but I've been doing lots of workarounds myself with parts of it, so I wouldn't take that as written. One of the issues I've resolved is by scrolling using gsap and scroll to, rather than the scroller, and that seems to iron out issues with the normaliseScroll I was having and I can still have the nice smoothness.
  12. Thanks for looking into this Jack and pleased it's not a GSAP issue, I wonder how many sites are broken by this, pretty scary big thing for them to break.
  13. Wondered why normalizeScroll wasn't working... was using the English spelling normaliseScroll... Fixes my issue for MacOS, however 'normalizeScroll' is now breaking my scrollTo with smoothscroll on iOS... It seems to not want to redraw the screen (I've a fixed image underneath the scroller, and it doesn't remove it?) Is there a simple way of normaliseScroll only run on mobile? James
  14. Thanks @Rodrigo, I tested on my daughters iMac before I updated the software on it, and it worked before the update, and not after, so something strange is happening.
×
×
  • Create New...