Hello! I would like HTML page link to work as an index to the pdf document loaded into an iframe; something like:
<a href="doc.pdf#page=2" target="quadro"> página 2</a>
<a href="doc.pdf#page=3" target="quadro"> página 3</a>
<iframe name="quadro" src="doc.pdf" style="width: 100%; height: 85vh;"></iframe>
PDFopen parameters work only when a new pdf is loaded into the iframe. Thus, it does not point to the pages of the indicated links. It also seems to me that this problem is common to all uses of PDF Open parameters, no matter the browser or the pdf preview plugin used.
However, if another pdf document is directed to the same iframe on the same page (eg something like "doc2.pdf"), a link opening the 1st pdf with the indicated page (doc.pdf # page = 2) should work soon after. So it just does not work when the parameters indicate for the SAME FILE already open, directed to the iframe.
I imagine that the browser directs the link to the iframe through the cache, which is why it does not update the page number. If the document is reloaded in the iframe for each link without going through the cache, it might work, discounting the disadvantages of that possibility. I saw some methods using META refresh on the html page, but they did not work.
Any idea to work? And I've also been trying to use as little JavaScript as possible ...