How to open a PDF document in new window?

Discussion in 'Javascript' started by mistral, Jul 9, 2008.

  1. mistral

    mistral Guest

    I am looking correct way opening PDF documents in new window.

    <a href="http://www.hyperlinkcode.com/document.pdf"><img src="/images/
    thumbnail.jpg" border="0"></a>

    Can we set dimensions of that window, and align that window in right
    place?

    Any help will appreciated.
     
    mistral, Jul 9, 2008
    #1
    1. Advertising

  2. mistral

    Erwin Moller Guest

    mistral schreef:
    > I am looking correct way opening PDF documents in new window.
    >
    > <a href="http://www.hyperlinkcode.com/document.pdf"><img src="/images/
    > thumbnail.jpg" border="0"></a>
    >
    > Can we set dimensions of that window, and align that window in right
    > place?


    "That window"?

    You code will open in the same window where the hyperlink is.
    If you need a fresh window (possibly with certain dimensions of your
    choice), you need to use:
    window.open();

    Google it up.

    Regards,
    Erwin Moller

    >
    > Any help will appreciated.
     
    Erwin Moller, Jul 9, 2008
    #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. Norman Yuan
    Replies:
    0
    Views:
    563
    Norman Yuan
    Jun 3, 2008
  2. Moe Sisko
    Replies:
    0
    Views:
    977
    Moe Sisko
    Jun 4, 2008
  3. Gordon
    Replies:
    3
    Views:
    323
    Steven Burn
    Apr 16, 2004
  4. PC HUA
    Replies:
    2
    Views:
    436
    PC HUA
    May 19, 2004
  5. mistral
    Replies:
    6
    Views:
    278
    Thomas 'PointedEars' Lahn
    Jul 13, 2008
Loading...

Share This Page