Auto Display .PDF file in web-page

Posted on 2004-11-29
Last Modified: 2008-01-09
I have a .PDF file that I want to open automatically when a certain web-page opens. I want it to open automatically without having to click on a hyper link, can I do this?
Question by:tomhoran
    LVL 95

    Expert Comment

    by:Lee W, MVP
    I would suggest putting it in an IFRAME.

    Author Comment

    who wouldi do that?

    Author Comment

    never mind i got it ..

    <IFRAME SRC="./images/help/proc1dates2005.pdf" width="100%" HEIGHT="100%">

    LVL 95

    Accepted Solution

    The following would create a 400 pixel by 400 pixel box where the PDF would load into.  The IFRAME tag can be put inside a table to display it in a more specific location on the screen.

    <iframe src="your.pdf" name="pdfframe" height="400" width="400"></iframe>

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    Read about why website design really matters in today's demanding market.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
    The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now