Browsing Pdf In A Web Page Without Using Flash
I Have an N-Pages PDF linked in a my web page.  I want to be able to browse the PDF, with next and prev arrows, page numbers, etc etc I want to be able to browse the PDF without us
Solution 1:
You can try this way:
See my code below:
 $("a[href*=.pdf]").click(function(){
    window.open(this.href);
    returnfalse;
});
Alternatively, you can apply the target="_self" attribute instead:
 $("a[href*=.pdf]").click(function(){
    $(this).attr({"target":"_self"});
    returnfalse;
});
EDIT:
If you need a plugin here it is https://github.com/andreasgal/pdf.js
Demo for the plugin http://deanhume.com/content/postimages/pdfjs/pdfjs.htm#1
Post a Comment for "Browsing Pdf In A Web Page Without Using Flash"