My idea of what I'm trying to do is When I open a website on one tab of the Internet browser browser and click on the link, it should open a new tab in the same browser using the pdf page ... on the pdf page there is there are many links that, if you try to click any of them, they should return you to the old tab, where you managed to dine, to open the PDF file and continue switching between these two tabs. I hope the idea is clear. I am trying to do this with html and javascript ... this is what I wrote, but I'm still missing here. Thank you in advance for your help.
this part here promises another moment in another window
<html>
<head>
<script>
function son()
{
myWindow=window.open('','','width=500,height=500');
myWindow.document.write(" SON !");
myWindow.focus();
myWindow.opener.document.write("<p> DAD !</p>");
}
</script>
</head>
<body>
<input type="button" value="Open " onclick="son()" />
</body>
</html>
There is a pdf file in this file.
<object data="Test.pdf" type="application/pdf" width="100%" height="100%">
<p>It appears you don't have a PDF plugin for this browser.
you can <a href="Test.pdf">click here to
download the PDF file.</a></p>
</object>