Using pdf.js to view PDF files on webpage

Javascript coding ..

Moderators: macek, egami, gesf

Post Reply
chris122380
New php-forum User
New php-forum User
Posts: 30
Joined: Mon Jun 25, 2012 12:41 pm

Using pdf.js to view PDF files on webpage

Post by chris122380 » Wed Aug 22, 2012 1:44 pm

Would like to know how to use pdf.js to embed pdf files into a iframe by iframe name. Example of how something like this:

Code: Select all

pdf.js ('adobe.pdf','pdf');
I no that is not how the code would work but would like to know a simple way of opening PDF links in a iframe using pdf.js.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests