Ninjakreborn Posted October 16, 2008 Share Posted October 16, 2008 Basically the following code is suppose to: * Display PDF file into browser * If object is not supported by that specific browser then provide the PDF via download instead. The following code works correctly in Internet Explorer 7 (and 6) but in Firefox it's not showing the PDF. Any advice? <object data="http://www.domainname.com/FamilyChoice/7Mistakes.pdf" type="application/pdf" width="700" height="700"> Your browser does not support live streaming. Download the file directly from the following link: <a href="7Mistakes.pdf" title="Download">Download</a> </object> Quote Link to comment Share on other sites More sharing options...
haku Posted October 17, 2008 Share Posted October 17, 2008 Does it have to be embedded in a page? If you just upload the file to the browser, and then link to that file, the .pdf will display in the browser. Ex: www.site.com/file.pdf This will open the pdf in the browser. It won't be embedded in a page though, it will just be its own 'page'. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.