Forum Moderators: open
But I don't think this is possible without using frames. If it *is* possible, please show how.
There are also several disadvantages of using PDF over HTML...
Shadows Papa
Have a look at
www.planetpdf.com/mainpage.asp?webpageid=1682
Embedding Flash, Audio, or even movies, is a much easier solution... and you can get it to work in most browsers. But PDFs are a totally different story. :)
Still, the <object> tag would be the way to do it. So thanks for bringing that up, choster. Let us know what you decide to do, and how it goes, thempian
On another note, that page with embedded PDFs caused my browser to crash :)
I guess I've never seen a reason to put a PDF in as part of the page - I will link to them so the user can download them, as in a newsletter, or a form, etc.
Just my 2 cents (USD) worth, probably about .005 now with this economy.
Shadows Papa
Now I know Word has the option of saving in HTML, but of course the resultant HTML is bloated and ugly and inefficient and I'd never want my name associated with anything like that.
Allowing users to download the Word file would be one option, but I didn't want someone to be able to accidentally alter or delete content, and the standard viewing modes for Word (other than Print Preview) display tables differently than the actual printed output, with slightly visible lines even when the table has no visible borders.
So for reasons of presenting an unalterable, truest to life representation of what I'd started with, without having to use the horrible HTML that Word produces, or without laboriously converting 50 pages of Word to HTML, I chose pdf.
*My* browsers (IE and Netscape 7.x, both Windows and Mac) default to presenting pdf files rather than downloading them. Sorry for the dumb question, but is there a way in html to force a download rather than a view?
Anyway, I'll pass on using the <object> tag, although it's nice to know about. Of course, any time I have a link that leads to a pdf file, I say so, mentioning the size of the file.
Thanks to all for their suggestions.
is there a way in html to force a download rather than a view?
If you've got php, this should work:
Save this as a text file with a file name something.php :
<?php header('Content-Type: application/pdf');
header('Content-Disposition: attachment; filename=your_filename_here.pdf');
?> And link to the PHP file. I don't know ASP, but I'm sure you can do something similar in that too.