By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,063 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

How to open a PDF document in new window?

P: n/a
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.
Jul 9 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a

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.
Jul 9 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.