The Magnifying effect works perfectly on the first slide.
When I change the slide I still see my cursor and the zoom option changes: zoom in and show me a different part of the photo and not the exact point where my cursor is.
This is the code of the carousel (for the moment only the first 2 slides are set with the magnifying effect)
Create an Image Magnifier Glass
in JavaScript
Posted
I used the W3 Tutorial to make an image Magnifying Glass
https://www.w3schools.com/howto/howto_js_image_magnifier_glass.asp
I use Bootstrap and I created a carousel.
The Magnifying effect works perfectly on the first slide.
When I change the slide I still see my cursor and the zoom option changes: zoom in and show me a different part of the photo and not the exact point where my cursor is.
This is the code of the carousel (for the moment only the first 2 slides are set with the magnifying effect)