On a certain page of a site, I have an image with a link pointing to a PDF file. As it is currently, when the user clicks on the image, the PDF file opens in another browser tab.
But I need to find a way that when the user clicks on the image, the PDF will be displayed in pop-up
on the current page, preferably using html/css
.
The code currently looks like this:
<a href="images/CartaServicos/Assinatura-Externa.pdf" target="_blank">
<img src="images/CartaServicos/AssinaturaExterna.PNG" alt="AssinaturaExterna"/>
</a>
If you can give birth, thank you.