<pdf src=

Discussion in 'HTML' started by Mevlut, Jul 26, 2003.

  1. Mevlut

    Mevlut Guest

    I want to show a .pdf in a htmp-page like an image.
    How?
    ~
     
    Mevlut, Jul 26, 2003
    #1
    1. Advertising

  2. Mevlut wrote:

    > 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.

    --
    David Dorward http://david.us-lot.org/
     
    David Dorward, Jul 26, 2003
    #2
    1. Advertising

  3. Mevlut

    Mevlut Guest

    David Dorward wrote:
    > Mevlut wrote:
    >
    >
    >>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.
    >
     
    Mevlut, Jul 26, 2003
    #3
  4. Mevlut <> wrote:

    > 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?

    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
     
    Jukka K. Korpela, Jul 27, 2003
    #4
  5. Mevlut

    Mevlut Guest

    Jukka K. Korpela wrote:

    > Mevlut <> wrote:
    >
    >
    >>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?
    >

    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.
    ~
     
    Mevlut, Jul 27, 2003
    #5
  6. Mevlut

    Chris Morris Guest

    Mevlut <> writes:
    > 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.

    --
    Chris
     
    Chris Morris, Jul 27, 2003
    #6
  7. Mevlut <> wrote:

    > 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.

    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
     
    Jukka K. Korpela, Jul 28, 2003
    #7
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve Richter

    <txt src= ...> equivalent of <img src= ...>

    Steve Richter, Feb 8, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    2,105
    Laurent Bugnion
    Feb 9, 2006
  2. Greg Johnson
    Replies:
    4
    Views:
    3,086
  3. Replies:
    1
    Views:
    1,628
    Alex Hunsley
    Mar 23, 2007
  4. pheadxdll
    Replies:
    16
    Views:
    3,695
    Neredbojias
    Jun 6, 2007
  5. Soren Vejrum
    Replies:
    4
    Views:
    624
    Lasse Reichstein Nielsen
    Jul 5, 2003
Loading...

Share This Page