Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi, i am new at html. I am try to create my website. I uploaded a pdf file and linked it on my webpage. Now on clicking the link the file gets downloaded. However, I want the link to get opened in a new webpage on that website itself, where the pdf file should appear in that webpage. But I am not able to do this. I don't know whether I have to convert the pdf file into html or have to use some other code. Please guide me.
Posted
Comments
Valery Possoz 25-Feb-16 17:33pm    
You can try pdf.js it's quite cool!
https://github.com/mozilla/pdf.js/tree/master/examples/helloworld

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900