171 B
171 B
The solution is to assign the handler to the container and track clicks. If a click is on the <a>
link, then change src
of #largeImg
to the href
of the thumbnail.