_youri Posted November 12, 2020 Share Posted November 12, 2020 Hi ! I'd like to add to each image a nice fullscreen zoom effect but I can't succeed to implement the code in the 2nd Pen... Can someone help me please ? See the Pen MyoWrb by 0skar (@0skar) on CodePen See the Pen zYByNpR by _youri (@_youri) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted November 12, 2020 Share Posted November 12, 2020 Hey _youri. You've got a lot of things going on in that pen. Can you please strip all the irrelevant code not pertaining to your question? This includes but is not limited to your ScrollTrigger code, LomotiveScroll, most of your other logic and animations, and whatever HTML and CSS you can get rid of. Link to comment Share on other sites More sharing options...
_youri Posted November 12, 2020 Author Share Posted November 12, 2020 Hi Zach, here is a new Pen with minimum code. See the Pen qBNLxom by _youri (@_youri) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted November 12, 2020 Share Posted November 12, 2020 Now I don't see any relevant code, just irrelevant ScrollTrigger animation code. What issue are you running into when trying to make the elements go full screen? Also please switch out the images for placeholder ones as yours take forever to load. Link to comment Share on other sites More sharing options...
_youri Posted November 13, 2020 Author Share Posted November 13, 2020 Here is the code with no scrolltrigger and images from lorelpixem.com See the Pen qBNLxom by _youri (@_youri) on CodePen To be honest I don't understand very well what's happen. I just see that images don't go full screen when clicked. Link to comment Share on other sites More sharing options...
ZachSaucier Posted November 13, 2020 Share Posted November 13, 2020 12 hours ago, _youri said: To be honest I don't understand very well what's happen. I just see that images don't go full screen when clicked. That's an issue Try looking at your browser's console. It will show you errors. Fix those errors. Spend some time trying to understand what's going on. if you have specific questions you can ask here and we'll do our best to help. 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