Re: 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: Darrin Chandler
Date:  
To: Main PLUG discussion list
Subject: Re: OT: How to open a pdf file in new window?
First page I found seems ok:
http://www.planetpdf.com/mainpage.asp?webpageid=1682

Apart from the above, the nice thing is to have your window.open
actually open an html that embeds the pdf.

On Thu, Nov 01, 2007 at 04:06:43PM -0600, Josef Lowder wrote:
> .
> 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
>


-- 
Darrin Chandler            |  Phoenix BSD User Group  |  MetaBUG
   |  http://phxbug.org/      |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss