OT: How to open a pdf file in new window?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Josef Lowder
Date:  
To: plug-discuss
Subject: OT: How to open a pdf file in new window?
.
Sorry if this is the wrong forum for this question,
but could someone recommend a good forum for posting
html coding questions like this?

I've been using the following script on a web page to open the
named item in a separate window, and while this works (sort of)
it actually opens two windows plus a dialog box asking if I want
to open the pdf document or save it.

My question is, how to write a similar code snippet that will
just open the named "sample.pdf" file in a separate window without
the dialog box asking whether to open or save the file and without
opening the extra blank window that clutters up the screen, doesn't
do anything, and just has to be closed.


<a href="link.html" onClick="popup=window.open('sample.pdf#zoom=150',
'PopupPage', 'height=750,width=600,scrollbars=yes,resizable=yes'); return
false" target="_blank">Open pdf file in separate window</a>


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss