1
On a given page of a website, I have an image with a link pointing to a PDF file. As it currently stands, when the user clicks on the image, the PDF file opens in another browser tab.
But I need to find a way to, when the user clicks on the image, the PDF will be displayed in a pop-up
on the current page, preferably using only html/css
.
The code is currently like this:
<a href="images/CartaServicos/Assinatura-Externa.pdf" target="_blank">
<img src="images/CartaServicos/AssinaturaExterna.PNG" alt="AssinaturaExterna"/>
</a>
If you could shed some light, I’d appreciate it.