P
P
Pepper12020-04-20 14:47:36
css
Pepper1, 2020-04-20 14:47:36

How to display a large image in the window when clicking on a thumbnail?

How to display a larger version of the thumbnail in place of the larger image when clicking on a thumbnail?

5e9d8b6e36e28712869851.jpeg

We have this code:

<div id="right">
    <a href="path 3 small" target="_blank"><img class="small" src="path 1 small"></a>
    <a href="path 3 small" target="_blank"><img class="small" src="path 2 small"></a>
    <a href="path 3 small" target="_blank"><img class="small" src="path 3 small"></a>
</div>
<div id="main">
    <a href="path big" target="_blank"><img id="big" src="path big"></a>
</div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
coderisimo, 2020-04-20
@Pepper1

The simplest example:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question