Thepaulcollett Posted May 17, 2021 Share Posted May 17, 2021 Hey guys and gals, Was wondering If you could point me in the right direction. I'm trying to get the 'animate sprite on scroll' using ScrollTrigger, but I'm having real trouble getting the sprite to appear on my site (link below). Can anyone suggest any edits or see anything I've done wrong (most likely) Thanks www.paulcollett.co.uk See the Pen by pen (@pen) on CodePen Link to comment Share on other sites More sharing options...
Cassie Posted May 17, 2021 Share Posted May 17, 2021 Hi Paul, I'm afraid I'm not really sure what you need help with here. There's a lot of stuff happening on your site. It looks great though! Good job. Also that codepen embed is broken. We can usually help more effectively if you provide a minimal demo - (If you haven't used codepen before, here's a post explaining how.) Link to comment Share on other sites More sharing options...
Thepaulcollett Posted May 17, 2021 Author Share Posted May 17, 2021 Hey Cassie Thanks for getting back to me. I did notice that the code pen wasn't up to scratch. I've cleaned it up a bit and got it to work on codepen. However. On my site, I just can't get it to work. On the my site, I can get the section in, but I can't get the sprite to show (or any image for that matter) hope that all makes sense now Many thanks Link to comment Share on other sites More sharing options...
Cassie Posted May 17, 2021 Share Posted May 17, 2021 Sorry pal but I can't access the codepen Link to comment Share on other sites More sharing options...
Thepaulcollett Posted May 17, 2021 Author Share Posted May 17, 2021 Apologies, hopefully the above link will work. Link to comment Share on other sites More sharing options...
Cassie Posted May 17, 2021 Share Posted May 17, 2021 It's not I'm afraid. Have you saved the pen? How are you linking to it? Link to comment Share on other sites More sharing options...
Thepaulcollett Posted May 17, 2021 Author Share Posted May 17, 2021 Ahh sorry, that's what it was. I'll get there one day. See the Pen ExWgaQv by Casso77 (@Casso77) on CodePen 1 Link to comment Share on other sites More sharing options...
Cassie Posted May 17, 2021 Share Posted May 17, 2021 Not sure how to help here I'm afraid. That image doesn't seem to be showing up in your network requests. I initially thought maybe your image path was wrong but it doesn't even look like you're requesting it in the first place. Are you sure you've updated/pushed your code? Link to comment Share on other sites More sharing options...
Thepaulcollett Posted May 17, 2021 Author Share Posted May 17, 2021 Hey there Thanks so much for taking a look. I've just updated the code again. the path should be there now. Should appear just below the laptop image. Does that help at all? 1 Link to comment Share on other sites More sharing options...
Cassie Posted May 17, 2021 Share Posted May 17, 2021 I imagine this error is something to do with it? It's near impossible to help someone debug on a site though, and seeing as your codepen's working I'm not sure what else we can do? I'm afraid this isn't really a GSAP issue, it's down to how you're implementing this on your site. 1 Link to comment Share on other sites More sharing options...
Thepaulcollett Posted May 17, 2021 Author Share Posted May 17, 2021 Ahh ok Coding isn't really my strong point. Probably not even a point at all. Thanks so much for taking a look. I'll see if I can find a freelancer who can help me out or something. thanks again 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now