Configure the opening of a pop-up window attached to a link
Not dilunghiamoci in useless talk and let’s get right to the point. To open a link in a separate pop-up window to our page, we need to insert inside the head of the page the following javascript code.
<script type="text/javascript"> function ApriPopup(pagina) { window.open(pagina, "", "top=20, left=30, width=600, height=200, status=no, menubar=no, toolbar=no scrollbars=no"); } </script>
then, instead of inserting the link in the href of the link, the user must insert the call to our function that expects a link to open. Practically we have to write this code
<a href="javascript:ApriPopup('https://www.selectallfromdual.com/blog/')">Apri la popup</a>