How to open a PDF document in new window?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mistral

    How to open a PDF document in new window?

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

    <a href="http://www.hyperlinkco de.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.
  • Erwin Moller

    #2
    Re: How to open a PDF document in new window?


    mistral schreef:
    I am looking correct way opening PDF documents in new window.
    >
    <a href="http://www.hyperlinkco de.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.

    Comment

    Working...