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

Similar Messages

  • 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?

  • HTML Container - pdf-file opens a new window

    I use the ITS Webservice PZ04.
    There is included a html container who shows the pdf-file inside this area.
    Now I have the effect, that this pdf-file will opena a new window, but not inside the html container!?
    First action before I have had this effect was the MS question-alert 'How you will open this file' Open/Download/Cancel - you know. - it never done before -
    What can I do to open my pdf-file inside the html container? It runs some times.
    Thanks!

    thank you for your answer, but it wasn't the solution.
    I don't open the iView in a new window.
    I open the iView (as IAC WebService via ITS) and the applacation generated a html container with pdf file!
    And this pdf-file opens in a new window.
    The Application runs up to now very good.
    I think any value was changed and I don't know which.
    It's possible the modification solved under MS or adobe!?
    Solution: First Deinstallation and then Installation of Acrobate Reader.
    Message was edited by: Ronald Kohn

  • PDF files open in new window.

    Whenever I click the "Open" button in Reader 9, (Windows 7 - 64-bit),
    it opens the document in a new instance of Reader, which of course,
    makes the menu item "Window" useless. How can I get docs to open
    in the same window? I don't see any setting for this in the preferences.

    ComputerWhiz
    "Make sure the Open new windows in a new tab instead is checked" - it is.
    issue still not solved,
    ps if you click on a pdf on the above link do you get the same problem or is it just me..?
    [Lewis Hamilton]

  • I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat.

    Dear everyone
    I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.
    I read a european commission document explaining that
    http://ec.europa.eu/research/participants/data/support/sep_usermanual.pdf
    If Safari does not display pdf forms in the browser window, uninstall all older versions of Adobe Reader and download the most recent one. First close Safari and then install Reader. Launch Safari and you ought to be able to open the pdf files inside the Safari window. If you install Adobe Reader 10.1.x without first closing Safari, Safari will not display the pdf file inside its browser window until it is re-launched. For further help, please see http://helpx.adobe.com/acrobat/kb/troubleshoot-safari-plug-acrobat-x.html
    I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat
    but when I open a web page that I need to allow me to display and modify PDF files it is not working.
    I checked the following web page
    Troubleshoot Safari plug-in | Acrobat X, Reader X
    that is recommending the following:
    The AdobePDFViewer plug-in is used to display PDF files in Safari using Acrobat and Reader.
    This plug-in is installed as part of the Acrobat X or Reader X installation. The location of this plug-in is:
    /Library/Internet Plug-ins/AdobePDFViewer.plugin
    but after the new installation with this folder is completely empty and I am still
    unable to open these pdf.
    Does anybody knows anything else I can do?
    Best regards
    Ramon

    Moving this discussion to the Adobe Reader forum.

  • How to display pdf file in windows phone 8 silver light application?

    Hi,
    I am developing windows phone 8 silver light application . For my app I want to display pdf files . Is there any default controls to display pdf files ?
    I don't want to display using launchers , I want to display with in the app.
    any help,
    Thanks..
    Suresh.M

    Probably this should give you a fair idea : How to view PDF file inside an Windows Phone application?
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • Preview: In a group of PDF files in the same window, going to the next or a previous PDF file displays the bottom of PDF by default, not the top. How do you change this?

    Preview: In a group of PDF files in the same window, going to the next or a previous PDF file displays the bottom of PDF page by default, not the top of the PDF page. How do you change this? In Mac OS 10.9 and previous, going to the next or previous PDF file displays the top of the PDF by default. Is there a way to change this back? When I go to the next or previous PDF file, I want to first view the top of the page, not the bottom. This really doesn't make any sense. Any help? Thanks!
    MacBook Air (13-inch, Mid 2012)
    2 GHz Intel Core i7
    8 GB 1600 MHz DDR3
    500 GB Flash Storage
    Preview Version 8.0 (859)
    Mac OS 10.10.1

    That to me seems like a bug in Yosemite.
    Apple Feedback http://www.apple.com/feedback/
    Bug Reporter https://bugreport.apple.com/

  • When adding a PDF file to a New Message in Mail it does not show up as an icon link, the entire document appears. How can you attach a PDF without the entire document displaying itself?

    After scanning a document, I save the file in a PDF format. When attaching the PDF file to a New message it appears on the entire page instead of a PDF icon link that the recipient can click on to open. Why can't I get the PDF file to appear in a icon format? Thank you.

    Control mouse click the document and select View as icon.

  • IE 7 not displaying PDF files

    WinXP SP3 desktop
    Installed: Acrobat Reader 9 and Acrobat 6.0 Professional
    Up until recently, when an update from MS and adobe were installed, Internet Explorer 7 has been displaying PDF files when clicking on a link to the document. I do not know which company is at fault for compatibility here, but I would prefer to have IE7 read/save PDF docs. As it is now, an window pops up (no error number) saying "The Adobe Acrobat/Reader that is running can not be used to view PDF files in a Web Browser. Adobe Acrobat/Reader version 8 or 9 is required. Please exit and try again." I click the OK button then Acrobat 6.0 Pro loads and with no document showing. Simply turns on. I open any PDF file manually using either Reader 9 or Pro 6, but IE7 will only come up with above msg.
    Corrective actions attempted were:
    1) Reinstall Reader 9 on top of itself.
    2) In Pro 6, Edit | Preferences | Internet and deselected "Display PDF in browser, restarted program, went back to re-select it, restarted program.
    I did notice a new process running named: wisptis.exe
    The error message above sounds more like to me that the Pro is assigned the job to read downloaded PDF files, but with the Web Browser Option set to "Display PDF in browswer", I do not know why IE7 is not reading them.
    Thank you for your help in advance.
    Kay

    Try troubleshooting the Safari .plist file.
    Quit Safari.
    Open a Finder window. Select your Home Folder in the Sidebar on the left. It has a small house icon. Then open the Library folder then the Preferences folder.
    Move the com.apple.Safari.plist file from the Preferences folder to the Desktop.
    Launch Safari. See if that made a difference.
    Also, check Safari / Preferences - Extensions. Make sure it's not an Extension preventing PDF's from rendering.

  • Hyperlink to open a file in a new window

    I have been trying to format the hyperlink to a file so it opens on a new window. iWeb allows us to check the box 'open in new window' only for links to external pages; when we insert a link to a file, I realize the app uploads the file to the website, but I could not find a way to have it open in a new window. Is there a way we can get to and format the hyperlink reference?

    1. Create the link that connects to the file (pdf or whatever) on a separate page of your site on iWeb.
    2. Publish your site, then go on the internet to the page that has this link. Keep this page open on your Safari or some web browser you use.
    3. Go back to your iWeb and create another link on a different page (home page, for example) of your site, and connect this link to the URL of the open page in step 2 with "Link to: An External Page" option. Click to choose "Open link in new window" on the Inspector panel. Name this link that has something to do with the file of interest in step 1.
    4. On your iWeb, go the page created in step 1 and make sure "include page in navigation menu" is not selected or checked in the Inspector panel so that web visitor will not get to this page directly.
    5. Publish your site. Now go to your site on the web to the page in step 3. Click on the link and it will open a new page with the link that has the file attached. Visitor can now open the file in that new window.
    • It seems complicated, but you'll get it.
    • You may need to refresh the pages on Safari to make it work if you have left Safari on throughout your work.
    • For this method, you have to dedicate a page to carry the link that connects to the file.
    Example: I create a page that has list of links to the files for viewing. These files are weekly reports. Each file is named by its date such "March 4, 2011" "March 11, 2011" etc.. This page will be hidden from visitors at first when they visit my site. Then I create on my home page a link called "Weekly Reports" that open to "External Page" via the option I have in Inspector. Even though it says "External Page" I use the URL of the hidden page containing all the actual files. On this "hidden" page, I also has a link called "Weekly Report" but this link is connected directly to this page. I do this only because I want the "hidden" page to look like my home page in terms of displayed links.

  • Safari does not display PDF files?

    My Safari browser does not display pdf files.  Whenever a site I'm reading links to a pdf file, a new page open in black but without content.

    Try this ...
    Open a Finder window then from the menu bar click Go > Go to Folder
    Type or copy paste the following:
    /Library/Internet Plug-Ins
    Click Go.
    If you see the:  AdobePDFViewer plugin in the Internet Plug-Ins folder, move it to the trash.
    Restart your Mac and try opening a PDF file.

  • Safari quit displaying PDF files - why?

    Safari used to display PDF files OK, but it has quit doing so. I'm not aware of anything I did to cause this. When I click on a link to a PDF file, it opens a new window with the URL for the file, but the window is blank. Safari has the PDF plugins Anyone else have this problem? Any ideas?
    Mac 500MHz Dual PPC   Mac OS X (10.4.7)   Safari 2.0.4

    Welcome to Apple Discussions
    Sometimes the presence of Adobe Reader plug-in can cause conflicts. If you have this plug-in in your Internet Plug-in folder, move it to the trash.
    Next, I suggest you download a copy of PDF Browser Plug-in. It's freeware when used for personal purposes. I find it more useful than Apple's way of displaying PDF pages.

  • 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

  • How to display pdf file with java code?

    Hi All,
    i have a jsp pagein that page if i click one icon then my backing bean method will call and that method will create pdf document and write some the content in that file and now i want to display that generated pdf document.
    it should look like you have pressed one icon and it displayed pdf file to you to view.
    java code below:
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ec = fc.getExternalContext();
    HttpServletResponse resp = (HttpServletResponse) ec.getResponse();
    resp.setHeader("Content-Disposition", "filename=\"" + temppdfFile);
    resp.encodeRedirectURL(temppdfFile.getAbsolutePath());
    resp.setContentType("application/pdf");
    ServletOutputStream out = resp.getOutputStream();
    ServletUtils.returnFile(temppdfFile, out);
    out.flush();
    and above temppdfFile is my generated pdf file.
    when i am executing this code, it was opening dialog box for save and cancel for the file, but the name of the file it was showing me the "jsp file name" with no file extention (in wich jsp file i am calling my backing bean method) and type is "Unknown File type" and from is "local host"
    it was not showing me open option so i am saving that file then that file saved as a pdffile with tha name of my jsp file and there is nothing in that file(i.e. empty file).
    what is the solution for this. there is any wrong in my code.
    Please suggest me.
    Thanks in advance
    Indira

    public Object buildBarCodes() throws Exception
    File bulkBarcodes = null;
    String tempPDFFile = this.makeTempDir();
    File tempDir = new File("BulkPDF_Files_Print");
    if(!tempDir.exists())
    tempDir.mkdir();
    bulkBarcodes = File.createTempFile
    (tempPDFFile, ".pdf", tempDir);
    //bulkBarcodes = new File(tempDir, tempPDFFile+"BulkBarcode"+"."+"pdf");
    if(!bulkBarcodes.exists())
    bulkBarcodes.createNewFile();
    Document document = new Document();
    FileOutputStream combinedOutput = new FileOutputStream(bulkBarcodes);
    PdfWriter.getInstance(document, combinedOutput);
    document.open();
    document.add(new Paragraph("\n"));
    document.add(new Paragraph("\n"));
    Image image = Image.getInstance(bc.generateBarcodeBytes(bc.getBarcode()));
    document.add(image);
    combinedOutput.flush();
    document.close();
    combinedOutput.close();
    FacesContext facesc = FacesContext.getCurrentInstance();
    ExternalContext ec = facesc.getExternalContext();
    HttpServletResponse resp = (HttpServletResponse) ec.getResponse();
    resp.setHeader("Content-Disposition", "inline: BulkBarcodes.pdf");
    resp.encodeRedirectURL(bulkBarcodes.getAbsolutePath());
    resp.setContentType("application/pdf");
    resp.setBufferSize(10000000);
    ServletOutputStream out = resp.getOutputStream();
    ServletUtils.returnFile(bulkBarcodes, out);
    out.flush();
    return "success";
    This is my action method which will call when ever i press a button in my jsp page.
    This method will create the barcode for the given barcode number and write that barcode image in pdf file
    (i saw that pdf file which i have created through my above method, This PDF file opening when i was opening manually and the data init that is also correct means successfully it writes the mage of that barcode)
    This method taking the jsp file to open because as earlier i said it was trying to open unknown file type document and i saved that file and opended with editplus and that was the jsp file in which file i am calling my action method I mean to say it was not taking the pdf file which i have created above it was taking the jsp file

  • Open file in a new window

    Hi All,
    I am adding a file item to a folder in a content area. The folder is published as a portlet on a page. Now when the user clicks on the file item, I want the file to open in a new window. I know its possible to do it when you add an URL item where there is a option where you can select the item to open in a new window. But in case of a file item, I did not find any way for openiging it in a new window. I would like to know how to open the file in a new window and if there is a workaround for the same.
    I am using portal version 30.6.6.5.
    Thanks
    null

    Here's a solution for Portal 3.0.8 or later that allows you to open a file in a new browser window. It requires that you create a custom item type, and use a procedure to display a link to the file.
    1. Create the following procedure. You can create it in any schema, but the schema has to have select privilege on the view 'WWSBR_ALL_ITEMS' in the portal schema. In this example, the portal schema is PORTAL30. If you're running version 3.0.8, you'll also need to apply the patch to bug 1724250.
    Create or Replace PROCEDURE OPEN_FILE (p_itemid IN NUMBER) as
    fileURL varchar2(1024);
    baseURL varchar2(256) := '/pls/portal30/docs/';
    begin
    select baseURL &#0124; &#0124; filename into fileURL
    from portal30.wwsbr_all_items
    where id = p_ItemId;
    htp.p ('Open File');
    EXCEPTION
    when NO_DATA_FOUND then
    htp.p('Document not found or access denied');
    when others then
    htp.p(sqlerrm);
    end;
    The procedure generates a link to the item filename with a target of "_blank", which opens the file in a new browser window. Replace the baseURL attribute value with the correct Database Access Descriptor (DAD) and Document Access Path ("/docs") for your site.
    2. Grant execute on the procedure to the portal public schema. The name of this schema is <portal schema>PUBLIC. So if your portal schema is PORTAL30, grant execute on the procedure to PORTAL30PUBLIC.
    3. Create a custom item type, using the base item type of "File". I recommend that you create the type in the Shared Objects content area, so it can be used in other content areas (from the Navigator, go to the Content Areas tab, select Contents for Shared Objects, Custom Types, and Item Types - Create). Edit the new type and go to the Procedures tab.
    4. In the Procedure Call Properties, enter:
    [list]
    [*]Type: PL/SQL
    [*]Procedure Call: <your procedure schema>.OPEN_FILE
    [*]Link Text: Open File (it doesn't matter what you put here - it only displays if "Display Procedure Results With Item" is unchecked.)
    [*]Check "Display Procedure Results With Item"
    [list]
    5. Under "Pass Attributes as Parameters", enter:
    [list]
    [*]Attribute: Item Id
    [*]Pass As: p_itemid
    [list]
    (Notice how you can pass most of an item's attributes to a procedure. You can take advantage of this feature to write procedures that give you precise control over the rendering of your items).
    6. In the properties for the content areas in which the new type is to be used, go to the Items tab. Specify that you want the new type to be visible. You may want to hide the base File item type, so users won't be confused by two different item types for files.
    7. Edit the folder style for the content area. Go to Folder Layout. Edit the region properties for each region in which you will be using the new item type. For each region, replace "Display Name or Image" with "Display Name". "Display Name or Image" will render the Display Name as a link to your file that opens the file in the same browser window. "Display Name" simply renders the display name as text, with no link.
    8. Now you can create items of the new item type. Each item's Display Name will appear next to a link that says "Open File". Clicking the link will cause the file to open in a new browser window.
    Hope you find this useful.
    Regards,
    Jerry

Maybe you are looking for

  • Connection speed high but pages have been loading slowly for last 4 days.

    My Broadband has performed well for the last two years but 4 days ago web pages have suddenly begun to take ages to load (10 to 15 seconds or more). Checking my connection speed gives, typically, 7816 kbits downloaded in 1.542 sec. The problem persis

  • How to find  full path

    Hi, how to find the directory total path where my java programm is running programatically? thanks in advance....

  • Password FTP in output

    When i try to put my password into teh webgallery ftp login it automaticaly loads an older password and wotn let me erase it.

  • Dsccsetup initialization problem

    Hello, I am facing problem in initialization of dsccsetup. I have DSEE 6.3 zip distribution on Solaris 10 x86 machines. Please see below execution followed: root@dr1 # ./dsccsetup status Sun Java (TM) Web Console is not installed DSCC Agent is not re

  • Fatal Error:  Problem parsing signature --D

    I get "Fatal Error: Problem parsing signature --D" followed by the name of the class that I'm attempting to initialize. This occurs when I run the program, however I don't get this when I am debugging. Does anyone know what this means and how I can f