<pdf src=

D

David Dorward

Mevlut said:
I want to show a .pdf in a htmp-page like an image.

<object data="/pdfs/mypdf.pdf" type="application/pdf" standby="Loading a
PDF" width="300" height="450">

<p>My <a href="/pdfs/mypdf.pdf">PDF file</a></p>

</object>

.... browser support probably sucks, but I haven't tested it.
 
M

Mevlut

David said:
Mevlut wrote:




<object data="/pdfs/mypdf.pdf" type="application/pdf" standby="Loading a
PDF" width="300" height="450">

<p>My <a href="/pdfs/mypdf.pdf">PDF file</a></p>

</object>

... browser support probably sucks, but I haven't tested it.
 
J

Jukka K. Korpela

Mevlut said:
I want to show a .pdf in a htmp-page like an image.
How?

Why? And what's htmp, and why do you write a Subject line containing
some fantasy markup instead of telling what the problem is?

Depending on what you really want, either forget the idea (most
probably this is what you should do) or use some screen capture
software and put a capture of the PDF document display into the HTML
page via <img ...> or, in very rare cases, use <iframe> with a link to
the PDF document as fallback.

So most probably you should stop wanting that and consider (and perhaps
explain) what you are really doing and trying to accomplish. Why not
just link to the PDF file or, better still, if it's _your_ material (or
public domain), convert it into HTML?
 
M

Mevlut

Jukka said:
Why? And what's htmp, and why do you write a Subject line containing
some fantasy markup instead of telling what the problem is?
htmp is miss spelled html. You do understand my subject line.
Depending on what you really want, either forget the idea (most
probably this is what you should do) or use some screen capture
software and put a capture of the PDF document display into the HTML
page via <img ...> or, in very rare cases, use <iframe> with a link to
the PDF document as fallback.
Until now I use the iframe.
So most probably you should stop wanting that and consider (and perhaps
explain) what you are really doing and trying to accomplish. Why not
just link to the PDF file or, better still, if it's _your_ material (or
public domain), convert it into HTML?
The files are delivered in pdf format. Some of them are BIG. Pdf is easy
to save. Converting to html is a hell of a job. I don't think I've to
explain why I want to integrate a pdf in html. I just want.
There is a suggestion in this thread. I will test it tomorrow.
~
 
C

Chris Morris

Mevlut said:
I don't think I've to explain why I want to integrate a pdf in
html. I just want.

Not necessarily. The method used to do something might (and often
does) depend on *why* you want that doing.

For example, the method to 'make text big and bold' might be 'use
stylesheets to set it' generally, or might be 'use <hX>' if you're
wanting the text big and bold to represent headings, or might be
something else for a different reason again.

So an explanation of why might get you a better suggestion for what.
 
J

Jukka K. Korpela

Mevlut said:
htmp is miss spelled html.

You want help, you take the trouble of writing your message clearly and
correctly. Occasionally you may get help even if you show that you
don't care about wasting your readers' time, but don't expect it to
last.
You do understand my subject line.

I understand that you play with fantasy markup.
Until now I use the iframe.

And you didn't tell _even that_ (not to mention a URL). Neither do you
explain now what you want that iframe does not "do".
I don't think
I've to explain why I want to integrate a pdf in html. I just want.

As you like.
There is a suggestion in this thread. I will test it tomorrow.

As you like. It is fairly obvious that it is a dead end and even worse
than iframe in practice, although it was _theoretically_ a correct
answer to your question under _some_ interpretation.

So given your attitude and the exactness of your problem description,
I suggest that you throw yourself on the floor and scream as loud as
you can "I want! I want". If that does not help, hold your breath
until the reality around you changes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top