0
I’m working on a Superzoom but I need to make sure that when clicking on the thumbnails it changes the src and the date-zoom of the main image but without using jquery.
Another important detail is that these images will be dynamic, and may contain from 1 to 10 for example.
https://jsfiddle.net/f30359u3/2/
This is the Superzoom I’m wearing.
https://codepen.io/imgix/pen/WrRmLb
Or if you knew another simple way to do this would also be of great help.
Then that would not work, because I have to change the image of the date-zoom as well. .
– Rodrigo B. Silva
@Rodrigob.Silva the concept of the answer is perfect for what you need, I added one more line to exchange the
data-zoom
as you requested, but regarding getting "heavy" not this in question to solve the problem, I believe that the question of performance would be better answered in another question the part of this.– RFL