0
I have a reading project online, I’m using the tag iframe
to display the pdf
page. I need to save the position of the scroll
and restore at next reading. Sample snippet:
<html>
<head>
<script src='jquery.js'></script>
</head>
<body>
<iframe src='documento.pdf' width='800px' heigth='600px'>
</body>
</html>
You could use the embed tag or the Object tag, instead of iframe, it’s the same thing??
Two questions: PDF/iframe is in the same domain? do you want to save it where? (server, cookie, or other way)
– Sergio
Yes the document is in the same domain. I will store it on the server.
– Jorgyan Ribeiro
With Adobe Reader plugin, jsPDF might be better
– Guilherme Nascimento
But isn’t jsPDF to generate PDF? I already have the ebooks, I just want to move the scroll of iframe with pdf, but I found that this way will not be possible, I will try another solution.
– Jorgyan Ribeiro