Open PDF File in Maximized Window

Discussion in 'Javascript' started by leneker, Jun 1, 2005.

  1. leneker

    leneker Guest

    I'm trying to link to some PDF files from an HTML page that will be
    used for a presentation. The user wants to have the windows open up in
    Adobe Reader 7.0 at maximum size (not full screen).

    I'd rather a more reliable system than simply resixing the window
    before hand because I won't always be able to do that before the
    presentations.

    I can make changes to the Adobe Reader configuration or registry (if
    needed) to make the program always open in full screen. but I would
    prefer it if I can control the behavior from the HTML link itself.

    Is that possible ?


    Thanks for any suggestions.
    leneker, Jun 1, 2005
    #1
    1. Advertising

  2. leneker

    Sandfordc Guest

    possibly something like this might help:

    wd=screen.width
    ht=screen.heigth
    window.open("mypdf.pdf","presentation","width="+wd+", heigth="+ht+"")

    Best Regards,
    Sandfordc
    www.JavaScript-Central.tk
    Sandfordc, Jun 2, 2005
    #2
    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. ~john
    Replies:
    0
    Views:
    317
    ~john
    Sep 1, 2006
  2. Anon
    Replies:
    2
    Views:
    1,108
  3. Peter
    Replies:
    2
    Views:
    175
    Peter
    Sep 18, 2003
  4. Bob
    Replies:
    3
    Views:
    181
  5. Mateo

    Open new maximized window

    Mateo, Nov 4, 2005, in forum: Javascript
    Replies:
    6
    Views:
    179
    GĂ©rard Talbot
    Nov 8, 2005
Loading...

Share This Page