Embedding of PDF inside HTML using frames
Some days back, I wrote a article regarding which PDF library to choose and work with, either PDFLib or FPDF. I decided to go with FPDF, since its free 😀
So now, what is the problem that almost everyone of us have faced using PDF documents?
Think again. No, not that one. Take another shot. Okay, let me tell you.
When we open up PDF file, it opens in “Full-Mode”, that means, we cannnot see the html links, page etc and it just ocupies whole web page. Now, this is a serious issue. Since, the only way is to hit the “Back” button.
What can be done to make this experience better?
Embed the PDF document inside a html frame. Consider the pdf file as a widget and we can load it inside the frames of html.
If you are wondering, if I am speaking arabic or something. Have a look at this.
But, there are serious flaws in implementing this way. Coz you cannot navigate through the pages in the PDF. I am trying to hack and fix the issues.
If you have tried anything similar to this. Please drop a comment.
PS: Please spare the commercial/licenses one. Yes, I am aware of Macromedia Flash Paper. But something free is more tasty 🙂
If you are reading article, you might also be interested in the PHP and Scriptaculous Book I have authored.
The book gives you insights about effects, drag-n-drop, slideshows, applications, auto-completion, in-place editing and more. Complete code snippets and explanations.
CHECK out and BUY the PHP and Script.aculo.us book at Packt official site