Open a pdf file in a new window

How do you have a pdf file open up in a new window in
DW8?

If you are coding a page with a HTML Transitional doctype,
you can link to
the PDF file, and assign a target="_blank" option to the
link. If you are
coding a page with an XHTML doctype, then you would need to
do this
differently if you want the page to validate.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"omealh" <[email protected]> wrote in
message
news:giocbd$rm6$[email protected]..
> How do you have a pdf file open up in a new window in
DW8?

Similar Messages

  • I can't open a pdf file in a browser window. I have to save it before I can open it. Why can't I open the file without first having to save it?

    Anytime that I click on a pdf file in a browser window, the file will not open automatically. I am forced to save it on my computer first and then access the file. When I click on it after it is saved locally, it opens as it should.

    If you are not able to get Adobe Acrobat Reader to open .pdf files in the browser. Even after you check in prefs to show pdf files in the browser.
    Make this modification for all versions of Adobe Acrobat Reader that show under this key.
    -Note: Deleting the key and all subkeys for any older versions also seems to fix this problem. So if you see this key present,
    HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0\Originals
    delete the 7.0 and all subkeys.
    HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\Originals
    -Right click on Originals and choose NEW DWORD Value and name it bBrowserIntegration, hit enter,
    double click on the new value and make sure the value is 1

  • How make a button open a .swf file in a new window?

    How do I make a button open a swf file in a seperate window
    new window (like if i opened to swf file seperately)
    Anyone know ?

    well you can publish the the other FLA, which would give you
    an HTML file, upload that and the SWF then link to the SWFs' HTML
    page.

  • Opening a pdf document in a new window on click of commandLink in ADF

    Hi,
    I am having a command link in my page and on click of that i am calling a webservice and getting the contents as bytes and writing the contents to the response outputstream. And i followed the below given steps. Everything works fine and i am getting the PDF displayed in new window. But i am getting a pop up blocker issue in IE and Firefox. Is there any workaround for that?
    1: open a dialog , and get url of servlet
    <af:commandButton text="Dialog Report" id="cbdialogReport"
    action="#{ReportBean.cbdialogReport_action}"
    useWindow="true" windowHeight="1000"
    windowWidth="1100"/>
    public String cbdialogReport_action() {
    try {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExternalContext externalContext =
    facesContext.getExternalContext();
    HttpServletRequest request = (HttpServletRequest)externalContext.getRequest();
    String strUrl = request.getRequestURL() + "";
    int iPosition = strUrl.indexOf("/faces/");
    strUrl = strUrl.substring(0,iPosition+6) + "/doreport";
    this.reportURL = strUrl;
    System.out.println("strUrl=" + strUrl);
    //System.out.println("request.getRequestURI()= " + request.getRequestURI());
    return "dialog:ReportDialog";
    } catch (Exception ex) {
    System.out.println(ex);
    return null;
    2:diaolog
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelStretchLayout id="psl1">
    <f:facet name="bottom"/>
    <f:facet name="center">
    <af:inlineFrame id="if1"
    source="#{ReportBean.reportURL}"/>
    </f:facet>
    <f:facet name="start"/>
    <f:facet name="end"/>
    <f:facet name="top"/>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    3: create a serlet
    package com.pansoft.myerp.servlet;
    import com.pansoft.myerp.view.Function;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    import java.sql.Connection;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import net.sf.jasperreports.engine.JasperRunManager;
    public class doReport extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html; charset=UTF-8";
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    /**Process the HTTP doGet request.
    public void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException,
    IOException {
    try
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExternalContext externalContext =
    facesContext.getExternalContext();
    //String strUrl = request.getRequestURL() + "";
    //System.out.println("URL: " + strUrl);
    response.setContentType("application/pdf");
    response.addHeader("Content-Type", "application/pdf");
    //response.setHeader("Content-Type", "application/pdf");
    //response.addHeader("Content-Disposition", "inline;filename=Report.pdf");
    Function function = new Function();
    Connection conn = function.getCurrentConnection();
    OutputStream outputStream = response.getOutputStream();
    InputStream reportStream = externalContext.getResourceAsStream("/Report/rptChar.jasper");
    JasperRunManager.runReportToPdfStream(reportStream, outputStream, null, conn);
    outputStream.flush();
    outputStream.close();
    //facesContext.responseComplete();
    }catch(Exception ex) {
    System.out.println("doGet():" + ex);
    Thanks!
    Ram

    I think you can't anything do about it if your popup blocker prevents the page to open.
    Some such blockers allow to add white lists of url which are allowed to open popups.
    Timo

  • Display PDF files in a NEW window

    hi there
    i offer PDF files to download on most of my webpages. example: http://www.khanomTOPproperty.com/khanomTOPproperty.com/northofkhanom.html
    i would like them to load in the browser first (not automatically download), but in a NEW WINDOW, and then give the visitor the option to download it (which is the easy part of it).
    even if i don't focus on opening in a new window (which is what i have now online, to make it available at last) the problem is that not all browsers display the file. some download it immediately. it took me quite a while to find out how different browsers handle it, and since it is very different i made a "browser ABC" help page on my site, explaining the different behaviors of browsers (http://www.khanomTOPproperty.com/khanomTOPproperty.com/browser_help.html). safari is great as usual and displays the file, so one can downoad it then (or not), but google chrome (and others) immediately download them without displaying them. by the way, i did NOT zip the files.
    so, how to make it sure that the files are displayed (not directly downloaded) in every browser, and, as mentioned above, i would love to have it in a NEW WINDOW( or tab, but better window), to make it easy to go back to the previous page without having to reload.
    and yes, i too think ISSUU is great in terms of display, i tried it but immediately forgot it when i found out that the visitor has to log in first (actually become a member of ISSUU) before being able to download - and i don't want to force my visitors to such things - the same way i will never have any advertisement on any of my pages - i don't want to make visitors angry...
    thanks again, i know - lots of questions, but the result of a few weeks iWeb work, and i did not find the answers in the forum yet.
    george

    hi wyodor
    oh wow, you answer almost faster than i can ask - that's what i call turbo.
    sounds very simple, and i tried it. the problem is that it is not so easy to make this link. i tried to find one of the several PDF files i have to make a test, but even this was not so easy. in cPanel i have a window which pops up when i open the file manager. it gives the option to access through
    a) home directory
    b) web root (public_html/www)
    c) public FTP root (public-ftp)
    d) document root for:
    (and then the domain names)
    which one is the right one to enter if i want to go to my PDF files? yes, OK, not an iWeb question, but maybe you can...
    anyway. i managed somehow to get to the PDF files. to my surprise i have seen that each file is there not only one time, but twice (the second time with a "_1"PDF. any idea what happened there? i only need one, do i?
    OK. so i found one, localized it but still can not get the link for it. the only link i find (in the browser address bar) is the FOLDER where the PDF files are located. i don't think this will do it, as i guess i have to specify the file exactly, otherwise how can iWeb know which file i want?
    how can i get a link to this file?
    additional question: whenever i update my website, will this path be remembered? i guess so.
    practically this means i will (should i be successfull and be able to create a link to these files) have to upload the PDF files BEFORE i can create the link in iWeb, Yes?
    you see, i am really a professional (...) - if i would i would probably switch to the other side and help greenhorns like me in the forum.
    by the way - are aou working for apple or is this just some sort of hobby?
    thanks again and warm regards
    george

  • How to Open Adobe *pdf Files Hyperlink in New Tab

    (Amongst all the extensions I have installed are Session Manager and Tabs Mix Plus, either of which might have bearing on this question. Session Manager is set to restore the tabs still open upon closing the previous session.)
    When Firefox is closed, clicking a web hyperlink in a pdf file opened in Adobe Acrobat will open the browser, but that page will displace whatever was visible in the last session's focused tab (the one which would have focus if the browser was reopened normally).
    If Firefox is already open and I'm using Acrobat externally the same happens -- the hyperlink' s page opens in the tab with focus, displacing whatever other webpage is displayed theree.
    If by chance a pdf is open in a browser tab (FF is configured to open pdfs in a tab from *within* the browser) clicking a hyperlink in that pdf will open the new site in that current tab.
    What do I set to get external Acrobat to open in a *new* tab when clicking a webpage hyperlink in a pdf?
    == This happened ==
    Every time Firefox opened

    Check your browser preferences.
    ex Safari>Preferences>General>

  • When viewing PDF files in a window in firefox the popup control bar for zoom, print,page up or down does not work. Any suggsetions other than stop opening up pdf files in a firefox window and have them open in adobe reader?

    Firefox 10
    Adobe Acrobat Plug in 10.0.0.396

    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
    * [[Using the Adobe Reader plugin with Firefox]]
    * [[Opening PDF files within Firefox]]
    Check and tell if its working.

  • Opening pdf file in a  browser window.

    I have a requirement to open a pdf file in a new browser window after onClick of a link. It is not the url of the pdf file. Actually the pdf file is generated dynamically by reading a blob column from the database and converting into a byte array and writing it to the outputstream. This is the code
    Currently on click of the link we are opening a jsp file which has the following code. We have put target=_blank in the link.
    String fileName = "DownLoadFile.pdf";
    response.setContentType("application/pdf");
    response.setHeader("Content-Disposition", "inline;filename=\""+ fileName + "\"");
    response.setContentLength(retrieveDocumentValue.getDocumentObj().length);
    try{
    ServletOutputStream out1 = response.getOutputStream();
    out1.write(retrieveDocumentValue.getDocumentObj());
    out.close();
    } catch (IOException e) {
    out.println("IO Exception");
    e.printStackTrace();
    }The problem is that,It is opening two window, one is an blank browser window and other pdf file in the Acrobat reader application? How can we open the file directly in the browser only without opening the Acrobat reader application externally?
    Edited by: thisisananth on Sep 17, 2008 11:13 PM

    We are facing this problem with IE6 browser only. In firefox, it opens fine in a browser window. What configuration should we do in IE6?
    Thanks,
    Ananth.

  • How can I view .pdf files in a Firefox window?

    When I click on a .pdf link, Firefox downloads the file to my desktop. This is fine.
    Sometimes, however, I would prefer that Firefox simply open the .pdf document in a new window. I know it used to work this way, but it stopped some time ago. How can I control this behavior?
    I looked in Preferences > Applications and selected on "pdf". Two entries showed up under "Content Type":
    "Preview.app Document (application/po..."
    and
    "Portable Document Format (PDF)".
    Both entries have the same "Action": "Use PDF Browser Plugin 2.4.4 (in Firefox)"
    Oops. I just figured it out. The PDF entry (only) has an extra pulldown option under Action: "Preview in Firefox". I tried it and it works!
    I guess the old PDF Browser Plugin 2.4.4 must've quit working some time ago.
    --Gil

    We're good here, thanks. I went ahead and posted in case someone else had the same problem.
    Although... if you know how I might clean out that now-obsolete PDF Browser Plugin 2.4.4, I'd appreciate the tip.
    --Gil

  • Unable to open multiple PDF files in Acrobat 9 Pro - Vista

    I have a staff member that is unable to open more than one PDF at a time.  If a PDF is currently open and another one is selected the program will crash and close.  It gives a message stating the program has crashed and must be closed and also gives an option to check online for a solution.  Has anyone else seen this issue or know a fix for it?  Thanks in advance.

    No. Starting with Acrobat 9 it is no longer possible to open multiple PDF files in the same window.

  • I cannot open this PDF file in Acrobat 8 Pro or in Acrobat Reader on Windows 7 64-bit

    I have a PDF file that I could open on my Windows XP 32-bit laptop in Acrobat 8 Pro or in Acrobat Reader.  I then upgraded to a Windows 7 64-bit laptop.  But now in Win7-64, I cannot open this same file using the same apps (Acrobat 8 Pro & Acrobat Reader XI). 
    When I try to open it in Acrobat 8, it does not load and instead a popup windows appears saying -
    Adobe Updater
    Some components needed to complete this operation are missing but information about them may be available on the Adobe website. Would you like to search the Adobe website for the missing components? 
    And I can choose either the OK or Quit buttons.  When I click OK, a web browser starts and goes to this website -
    http://www.adobe.com/special/adobe_update_manager/?type=Filter&name=FOPN_foweb&version=0.0 .0.0&lang=en_US&os=Windows&osver=6.1.7601&appid=acrobat8pro-en_US&cpu=intel
    This webpage says -
    Adobe Update Manager
    Adobe cannot locate the requested plugin. New plugins will be listed on this page. Currently there are no plugins.
    So now I am stuck, no direction to go.  I am left without any solution from Adobe for Acrobat on this file.
    When I try to open this PDF file in Reader, it does not load and instead a web browser is spawned loading the webpage -
    http://plugin.fileopen.com/Default.aspx?bhcp=1
    This is the FileOpen Plug-in for Adobe Acrobat/Reader, which prompts to -
    Please click OK to download the FileOpen Plug-in Installer for Adobe Acrobat/Reader 
    I click on OK, download and run the Installer file, accept the terms, and installed the FileOpen Client (x64) B928.  Upon completion, it prompts to Finish.  But it does not automatically bring Reader up or try to load the file.  So I try again to load the PDF file into Reader.  But once again, the file does not load and the web browser is spawned loading the same FileOpen Plug-in Installer link.  I click OK again, and start the same FileOpen Client process.  This time, it recognizes that I have FileOpen Client installed, and the window gives me two choices, Repair or Remove.  So since I apparently need this Plug-in, I choose Repair.  The process seems to complete the Repair.  But when I try to load the file, it still brings me back to the FileOpen Plug-in webpage.  So now I am stuck again, and left without any solution from Adobe for Reader on this file. 
    I tried Adobe support.  But apparently Adobe does not support past releases of their products (Acrobat 8), and also does not give free support for the current version of their free products (Reader XI). 
    Can this be fixed? 

    How is Acrobat 8 not fully Windows 7 compatible?  I see discussions on this Adobe Community saying how Acrobat 8 does work on Windows 7 and with 64-bit.  It appears that if Acrobat 8 is updated to the latest version, then this should fix AA8-Win7 issues.  And I am at the latest AA8 version, 8.3.1. 
    And how are Acrobat 8 and Reader XI are not compatible?  I have always had Acrobat and Reader installed on the same PC, without ever having any issues.  And Adobe allows the installation of one after the other.  So apparently Adobe allows them both to exist together.  If they are incompatible, then why would Adobe allow them to exist together? 
    Anyway, I did uninstall the FileOpen Plug-in and the Reader XI, then reinstalled the FileOpen Plug-in.  So now Reader is not installed and only Acrobat 8 is installed.  I then tried to load the PDF file, but I still get the Acrobat 8 error described above. 

  • When openning a PDF file, a new tab will open but it will be blank, it does not download or open any pdf files, this just started the last 3 days....!!!!

    Hi,
    I am on the verge of deleting Firefox from my computer as it has wasted hours of my time, and none of the online trouble-shooting answers are of any help.
    Until recently I could open PDF files in my browser window, and today its impossible to open any pdf file, it will not even download if I choose to download it.
    This issue has been going on and off for nearly a year, and I downloaded Nitro PDF add-on to solve it previously as the Adobe reader add-on didn't do anything. Today In the options menu of applications where I can select the program I want to open the PDF files with I can no longer find the NitroPDF reader as an option, so I choose the Adobe add-on and no matter how many re-starts it refuses to initiate any PDF files, all I get is a open and empty new tab.
    Internet explorer opens PDF files fine, so I know its not computer related.
    I am running Windows Vista Ultimate, Firefox Version 19.0.
    If there is a way of fixing this, please help because currently I am at the end of my patience.
    Regards,
    Emre

    Hey thanx for the help, it worked like a charm.
    I think firefox changed the application lay out, as I used to be able to choose my PDF opener from the list at " Adobe Acrobat Forms Document' where I could choose Nitro-PDF reader, but it has now moved all the way to the bottom like you suggested to the obvious place of "Portable Document Format" section.
    If someone didn't tell me , I wouldn't have scrolled all the way down to be able to find it... it really should be with all its cousins up the top...
    Cheers again..

  • Opening a PDF file in Admin mode from a windows forms application (C#)

    Hi,
    I need to open a pdf file using Windows Application. I have used the below code launch the pdf files.
    Process prc = new Process();
                prc.StartInfo.FileName = "cmd.exe";
                Environment.CurrentDirectory = @"C:\SamplePDF\";
                prc.StartInfo.Arguments = " /C sample.pdf";
                prc.StartInfo.UseShellExecute = false;
                prc.StartInfo.CreateNoWindow = true;
                prc.Start();
    This code is working fine without admin mode. But while running the output exe from bin folder with admin mode(right click the exe and choose "Run as Administrator"), pdf files are not launching . But its opened in the background application and I can see this from windows task manager.
    Could anyone please help me on this issue ? Is there any other ways to launch a pdf file in admin mode ?
    -Balaji.

    Thank you for replaying so soon..
    Well you are right by using a widget and etc.. but the problem is that I have been told that this application should open a PDF file that has bookmarks to each chapter of the text and one can make a search on this text by using pdf search.. So I do not have any other choice than opening a pdf :D and my time is unfortunately limit.
    For solving the problem that the user may not have PDF reader.. well I have been told that user should install the pdf reader, so in my application package I am putting the installation file of PDF.
    But going back to my problem.. I guess is someway I have to get the OS type of the user and I have to do a SWITCH or something on the OS type and then change the content of the Runtime.exec(). But the question is how can I get the OS type and what should I change in Runtime.exec().
    So now any idea? any solution??

  • I HATE my new MACBOOK PRO, it will not let me open any PDF files and I downloaded the ADOBE READER three freaking times and it keeps saying that all the files are corrupt. I would rather have my 2008 Dell at this point. what is wrong with this thing

    I HATE my new MACBOOK PRO, it will not let me open any PDF files and I downloaded the ADOBE READER three freaking times and it keeps saying that all the files are corrupt or damaged. I would rather have my 2008 Dell at this point. what is wrong with this thing

    Perhaps the PDF files are corrupted.
    Hit the command key and spacebar, a blue Spotlight in the upper right hand corner appears, now type Preview and press return on the Preview program.
    Now you can try opening the PDF's from the file menu and see what's going on.
    If they are corrupted, perhaps they are trojans from your Windows PC or gotten from a bad location online.
    Download the free ClamXav and run a scan on the possibly infected folder.

  • Open file in a new window thru custom global link

    Hi All,
    I have created a custom global link. I want to open a PDF file (present at OA_HTML) from that link.
    So, I created a function for that link having below properties:
    Web HTML : file_name.pdf
    Type: SSWA plsql function that opens a new window (Kiosk Mode)
    File is opening successfully but in the same window. I want to open that file in a new window.
    Please suggest some solution for this.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I have created a blank page and write logic to download file in that.
    Later, on click on global link, navigated the same to that blank page. So, open save dialog is coming on click of custom global link.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Training and Event Management Calendar in Portal iView

    Has anyone implemented Training and Event management in the portal and if so, how did you develop the Calendar iView?  Did you use WebDynpro, .NET, or some other method? Your assistance is appreciated. Thanks, Donna Maupin

  • Want to make in app purchase

    A friend gave me her daughter's iPad and her Apple ID password. I downloaded a few free apps and want to make an in app purchase now. I signed out of her account, signed in with mine and tried it. Said the app was 'bought' with another Apple ID. So I

  • HELP ME!!!!! pc doesn't recognise Shuffle

    ARRRGGGHHHH!!! annoying the crap out of me... i have tried everything to get my shuffle to work!!!! i baught it off of a friend 3 days ago.... these 3 days i have been trying everything i could think of to get it to work, and still no luck. I have ev

  • Music previews not working

    I am having a problem with music previews. This just happened suddenly with no error message the song previes just don't play. Any help?

  • How to implement "colorise" hue/saturation in game development.

    I am  a game developer, recently the art desiginer give me lots of image ,whitch changed color use photoshop colorise hue/saturation from one garyscale image . In order to reduce the image size. I have google for a lot time, I awalys do not konw the