Open PDF in browser window

How do I make a PDF open in a browser window? Does the user
need a certain plugin?
Any help would be greatly appreciated...
-John

drumkeyjw wrote:
> How do I make a PDF open in a browser window? Does the
user need a
> certain plugin?
Make sure to warn the user about the fact that you link to a
PDF document
and also mention the weight (kb) of that file.
In case you wonder if you should open a new window or not for
PDF files:
http://www.tdrake.net/should-a-web-site-open-pdf-files-in-a-new-window/
Thierry
Articles and Tutorials:
http://www.TJKDesign.com/go/?0
The perfect FAQ page:
http://www.TJKDesign.com/go/?9
CSS-P Templates:
http://www.TJKDesign.com/go/?1
CSS Tab Menu:
http://www.TJKDesign.com/go/?3

Similar Messages

  • FF 5 no longer opens pdf in browser window & only fix on offer, Dafizilla ViewSourceWith, won't instal and greys out Menu bar.

    ''locking this thread - discussion is here - https://support.mozilla.com/en-US/questions/857882''
    I thought I had the Foxit Reader Plug-In reinstalled since I installed FF5, but I've reinstalled it again anyway and reset it to open in Firefox under Tools Options. Once I was happy with the latest Foxit Reader I really didn't want to even try the dead-buried-and-decomposed Adobe Acrobat again. I've disabled that now as it wasn't opening pdfs in Firefox either when I had it selected under Tools Options.

    These are the steps I performed on my own system many months ago. I could not view PDF files in Firefox with both Adobe Reader and Foxit installed.
    #Close Firefox (File > Exit '''''OR''''' Firefox button > Exit)
    #If you have not already done so, uninstall Adobe Reader 9.4.5 using Windows Start > Settings > Control Panel > Add or Remove Programs, click on the item, click Remove. You may need to restart your system.
    #Open Foxit in your programs list Windows Start > Programs
    #*on the Foxit menu, click Tools > Preferences
    #*click File Associations and be sure "Display PDF in browser" is checked then click "Make Default PDF Viewer" then click OK
    #*close Foxit Reader (File > Exit)
    #Start Firefox
    #*Open the Applications panel (Tools > Options > Applications '''''OR''''' Firefox button > Options > Options > Applications)
    #*type '''pdf''' in the search box; you should see "Foxit Reader PDF document"
    #*in Action column, click the down arrow at the far right end
    #*choose "Use Foxit Reader plugin for Mozilla (in Firefox)'
    #**if the full name does not display, place the cursor over the item to see the full name in a tooltip box
    #Test on a pdf file from the internet
    #*If there is no toolbar at the top of the PDF display in the tab (just a blue strip), tap the F8 key to get the Basic toolbar, or right-click the blue strip at the top to display/not display other toolbars by clicking on them (checked=display; un-checked=do not display)
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Pdf links will not open in new browser window

    I have created a pdf document in Acrobat 9 Pro that is password protected. You must enter the password to open it. In this document there are perhaps 15 links to other pdf documents. I set up each of the links to open in a new window. The links work as expected in Acrobat, each opening in a new window, however, when I posted the documents to the web, the links open in the same window as the original document. This would not be a big issue if the original document were not password protected, but each time the user clicks on a link, it takes him out of the original document. To get back to the original document requires re-entering the password. This is a major irritation with so many links.
    I know that you can set Acrobat to display the documents in its own window rather than in the browser, but my users don't know that. Control clicking on a pdf link does not open it in a new window as it would with an HTML link. Is there a simple fix to this problem that does not involve user intervention?

    Well, I came up with a solution, thanks to Ted Padova who offers a simple JavaScript solution on his blog at http://www.acrobatusers.com/blogs/tedpadova/opening-pdfs-new-browser-windows.
    The solution is clearly laid out even for beginners, if you know how to create a link or button.
    It seems to me that a prime objective of Adobe in developing Acrobat would be to have it behave the same way in free-standing mode and as a plug-in. In this case it does not, and obviously, it has not for the last forty-eleven years that Acrobat has been on the market. Maybe some day they will get around to a fix for this obvious problem. In the meantime, read Ted's blog and be happy we have guys like him who can solve these problems.

  • Can't open PDFs in browser

    Hello!
    My Mac can't open PDFs in the browser window anymore, but just offers a download dialogue.
    I already read in the forum, that it may help, to open the Acrobat Reader prefs and uncheck the "open PDF in browser window" option. The problem is though, that this option is greyed out, so I can' t uncheck it.
    And: As for me I don't need to open the PDFs using the Adobe plug in.
    I just want to see the PDFs quick and simple.
    Any ideas gladly appreciated!
    Thomas

    Remove the plugin from HD>Library>Internet Plugins.

  • Open PDF in browser causes blank error box (Windows 7)

    I just freshly installed Windows 7 today. I then installed Adobe Design Premium CS4, including Adobe Acrobat Pro. I use IE8 and Firefox 3.6.
    FYI, this problem does not occur in Windows Vista or lower...only Windows 7.
    The problem is that when I click on links to PDF documents that open in a browser window, a blank error message box will sometimes popup and nothing else happens (see blank error box below). But other times when I click on the same PDF, it will open just fine. I tried opening it four times in a row, and it worked 3/4 times. Then, I did it four times again, and it only worked 1/4 that time. Totally random.
    So I tried clearing the browser cache - no luck.
    Tried reinstalling Adobe Reader 9.3 - no luck.
    Tried uninstalling Adobe.com and Adobe AIR - no luck.
    Tried both IE8 and Firefox - both randomly showed the blank error box.
    The PDF documents are being rendered through PHP, so I also tried changing the PHP header(), but the same blank error box kept randomly showing up.
    What in the world is going on here?

    Guys,
    There is a simple workaround for this. Just DON'T "Display PDF in a Browser". At first I was going to have all the users in my company Right-Mouse Click and Save PDF to their Desktop. But then realized it's just simpler to have the PDF open in the Reader and it gets around the problem fine. This is a great workaround until the whole Windows 7/IE8/Adobe PDF situation mature a bit.
    In case you forgot the instructions from John, here's how:
    Open Adobe Reader or Adobe Acrobat (Pro):
    -> select the menu "Edit"
    -> select "Preferences"
    -> select the Category "Internet"
    -> UNCHECK the "Display PDF in browser"
    This worked for our company. Hope it works for you.
    - Greg H.

  • Open PDF in browser - but cant control/close window from javascript

    Hi
    I hope I picked the correct forum
    Basically I have a site in asp classic. From a button I opens 2
    windows via javascript.
    One contains info, one shows a related file ( could be tiff or pdf ).
    When user closes info-window, I also close the file window via javascript, so that user only hav to click once.
    That works with tiff, but not with pdf, '!file.closed' returns that window are already closed.
    Somehow I simply loose contact to that window when I open pdf.
    My Adobe is set  with "open pdf in browser", version 10.1.2
    Any Ideas ?
    Overview what I do:
    function openTwoWindows(jnr,vikar,hvorfra){
              var left, top,vikar;
              width = (window.screen.availWidth/2)+80;
              width2 = (window.screen.availWidth/2)-80;
              height  = (window.screen.availHeight);
              info = window.open('info.asp'','top=0,left=0,height='+height+',width='+width+',resizable=yes,scr ollbars=yes,status=yes');
              var settings= 'toolbar=no,location=no,directories=no,'+
              'status=no,menubar=no,scrollbars=no,resizable=yes, top=0, left='+width+', height='+height+',width='+width2;
              file = window.open('showfile.asp?strJnr='+jnr+'&print=false','file',settings);
              info.focus();
    function closeFileWindow(){
                if(file && !file.closed){
                             file.close();
    if the file is a pdf -> showfile code in asp classic:
    Response.AddHeader "Content-Disposition","inline;filename=filename.pdf"
    Response.ContentType = "Application/pdf"
    'Response.Clear
    Response.Buffer = true
    // fetch file from database
    Response.BinaryWrite rsTmp("Fil")
    Response.Flush
    Response.End

    Read this:
    http://forums.adobe.com/thread/535609?tstart=0

  • File Open Issues - document library pdf file to open in new browser window

    Hi
    I have a requirement to open the document library containing pdf file to open in new browser window. So far I have tried following steps but could not get it to work.
    1. Changing Document library advance setting to open the document in browser (have tried others as well).
    2. SharePoint web application setting changed as Permissive instead of Strict. Here the pdf file opens in browser but redirect from document library instead of new window(Also tried adding Target=”_blank” and no change).
    3. Executed the powershell script to adding MIME type to see if it works but no change.
    $webApp = Get-SPWebApplication http://SharePointSite
    If ($webApp.AllowedInlineDownloadedMimeTypes -notcontains "application/pdf")
    Write-Host -ForegroundColor White "Adding PDF MIME Type..."
    $webApp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
    $webApp.Update()
    Write-Host -ForegroundColor White "Added and saved."
    Else
    Write-Host -ForegroundColor White "PDF MIME type is already added."
    4. Open the Doc library and modified ALLItems.aspx to add Target= “_blank”
    5. I have already tried solutions suggested in the link:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/530e2ea1-d77d-491c-935f-04f536e439a5/open-a-pdf-document-to-a-new-browser-in-the-document-library-web-part?forum=sharepointadminlegacy
    http://mindsharpblogs.com/todd/archive/2005/08/16/654.html
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/7b6091df-4657-4799-ba02-259ebd7e4b7c/pdf-doesnt-open-in-document-library?forum=sharepointadminlegacy
    Appreciate if there are any working solution from any of you. Many Thanks

    I found a solution which works only in the development. No idea when I compared, Browser MIME type is enabled, STRICT browser type is configured for web application. on the document library advance setting, default to open in new browser. Both configurations
    are identical but I am able to open pdf file in new window in my developing using jquery script
    http://blog.ithinksharepoint.com/2011/02/21/open-pdf-files-from-a-document-library-in-a-new-window/ but the same does not work on production server :(
    Any help experts?
    Thanks

  • I cannot open a pdf file with aole-mail. I can open pdf files from windows explorer. I have associated pdf with adobe reader. My operating system is window

    I cannot open a pdf file with aol e-mail. I went to preferences in Adobe Reader but did not know what to enter for Incoming IMAP and outgoing SMTP. I can open pdf files from windows explorer as  I have associated .pdf files with adobe reader. My operating system is windows 7.
    When I try to open the pdf file within aol e-mail I get a message: 'Your security settings do not allow this file to be downloaded'.  I have not changed my security settings (Tools, Internet Options, security).

    Or http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • Cannot open PDFs in browser in IE from Search Center

    [SYSTEM]
    SharePoint 2013 Enterprise, 2WFE, 2App, 1SQL
    [ISSUE]
    We have a problem with opening PDF files from search results in IE. I can open PDFs in the browser with Chrome and Firefox in all site collections as well as search results.  If using IE10, I can open PDFs in browser everywhere except
    the Search results page. Also, if I right click on a document in search results, and click "Open in new tab" or "Open in new window", then the pdf opens up in browser just fine. If I copy the URL and paste it into the address
    box, the document will also open in browser with no problem.
    The only way that the browser tries to open a pdf document in the client is when you click on the document directly in Search results. All other ways of opening the file yield the right result.
    We really need PDFs to open in browser in IE.  Please help. 
    [TROUBLESHOOTING DONE]
    I set the Web Application Browser File Handling to Permissive from Central Administration.
    I specified for files to open in the browser in Search Center preferences accessible from the bottom of the search results page.
    I verified that "application/pdf" is an AllowedInlineDownloadedMimeType
    The Office Web Apps settings were modified to open PDFs in the default PDF reader rather than OWA.

    Hi Jerry,
    Can you check the similar thread
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d554e88c-d72f-46b0-8b1a-2f2024fcb9c0/i-e-8-browser-wont-open-pdf-file-returned-from-sharepoint-2010-search?forum=sharepointadminprevious
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to open a new browser window without toolbar, location, and menu bars from AIR?

    I have the following problem in my Flex+AIR application. I need to embed an ActiveX component that has JavaScript API inside my application. I tried to embed it inside <mx:HTML> component but unfortunately, AIR doesnot support plug-ins or ActiveX controls. So I've decided to open it in a new browser window. I tried navigateToURL(...) method but it has two problems - it is opening a new tab in the existing browser window and there is no way for me to configure the new browser window appearance, like removing toolbar, menu bar, location bar, etc. Then I tried to open a new window from JavaScript running inside <mx:HTML> component using window.open(...) API but it doesn't open a new window at all.
    Is there any way for me to open a new browser window without toolbar, location bar, etc. (which will run ActiveX control, so it cannot be AIR window) from inside AIR?
    Best regards,
    Arkady.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • How to open a new browser window from a JSP page?

    Hi,
    I am picking up records from the database and displaying each record in a seperate text area field using the JSP code. I should be able to display the content ( available in the text area) in a seperate window if the user clicks on one icon.
    Is it possible to open a new browser window using JSP? If yes, how can I write information on the new browser window?
    Thanks in advance.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • Firefox 'opens' but doesn't/won't open an actual browser window?

    Firefox Beta 4 has crashed out on me several times, but since the most recent crash Firefox will 'open,' but doesn't actually open a new browser window. Even if I go to the menu and manually select "new window" it doesn't do so. Nor can I submit comments under the "Firefox Makes Me Happy/Sad because..." tabs. It's simply not opening new windows. When I go to the force-quit window, it doesn't show up as hanging, however. Two close outs of Firefox, and two restarts of the computer have not resolved the issue.
    Most recent attempt to generate a new browser window generated the following error codes:
    Error: no element found
    Source File: https://testpilot.mozillalabs.com/testcases/index.json
    Line: 1
    Warning: Unknown property 'zoom'. Declaration dropped.
    Source File: http://www.google.com/
    Line: 6
    Warning: Error in parsing value for 'filter'. Declaration dropped.
    Source File: http://www.google.com/
    Line: 6
    Warning: Unknown property 'zoom'. Declaration dropped.
    Source File: http://www.google.com/
    Line: 0

    Try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, one of your add-ons is the culprit.

  • How do I make it so that Firefox does NOT close my other windows when I open a Private Browsing window?

    Whenever I open a Private Browsing window, it closes all of my non-private windows until I end the private session. Is there a setting or add-on that will make it so I can have both private and non-private windows open? Both Internet Explorer and Chrome allow you to do this and it is the only reason I'm not using Firefox.

    That unfortunately is the way that Firefox works.
    You could create a new Firefox profile, but it would have it's own set of bookmarks,
    you could use a different browser for either half, but again it would not share you
    bookmarks. Firefox has the best bookmarks, but I understand your situation.
    Private browsing does not suit my usage because it turns off everything privacy related and I would not want to turn off bookmarking or lose my session data. I am the only user on my computer.

  • How can I open a new browser window!!!  Very Challenging!!!

    I have a form (name=MAIN) with a submit button (name=Button A). Button A opens a new browser window (name=SEARCH), via an HTML form target tag (<FORM TARGET=A>). Window SEARCH has multiple submit buttons (10-15). Each button has a different action which is handled by a servlet (form name and button name are passed to a servlet as a hidden field in the form to determine the action), which is setup to be an action handler. When a button in the SEARCH window is clicked the results are retrieved from an Oracle database and should be displayed in the text fields in window MAIN.
    For example, some results may be displayed in window SEARCH (_self) and and other results may be required to be sent to window MAIN depending on the button clicked.
    How can I setup window SEARCH so each button can have a different target window (some may be window MAIN or other windows)? Using a form tag for each button doesn't give desirable results. Is there a way to do this with JSP or some form of Java code?
    A form tag can only have one target. Basically I have one form with multiple submit buttons. How can I get it to send each submit buttons results to a specific window?
    Thanks.

    <!-- try this -->
    <script language="JavaScript1.2">
    function mysubmit(mytarget){
    document.myform.target=mytarget;
    document.myform.submit();
    function validation(myform){
    //validation stuff
    return [true | false];
    </script>
    <form target='none' name='myform' action='myaction.jsp' method='post' [onsubmit='return validation(this)']>
    <input type=button name='submit1' value='submit1' onclick='mysubmit("target1")'>
    <input type=button name='submit2' value='submit2' onclick='mysubmit("target2")'>
    <input type=button name='submit3' value='submit3' onclick='mysubmit("target3")'>
    <input type=button name='submit4' value='submit4' onclick='mysubmit("target4")'>
    </form>

Maybe you are looking for

  • Has anyone managed to deploy Acrobat Pro 9.0 for Mac through ARD?

    Has anyone managed to get Adobe Acrobat Pro 9.0 for Mac to deploy with any level of reliability through tools such as Apple Remote Desktop? The main CS3 apps are "better", if still kludgy to deploy somewhat silently, but every time I've tried to get

  • XML mapped to IDoc routed to two different receivers

    Hello gurus, I have an XML document coming into XI which needs to be mapped into an IDOC, then sent to two different systems (not to both of them) based on a value in the XML (the value is actually the SAP partner ID). Can this be done in BPM? Perhap

  • Flash; brush tool delay

    I use flash professional cc and the brush tool the latest day has gotten some bug; i draw with a wacom tablet and the brush tool is delayed for the pen movement so i can see the line before the pen is off the tablet. How do I fix this? the pencil too

  • Unable to create webOS account to set up HP Touchpad

    Alright, so I got my Touchpad Saturday, and tried to set it up the day after.  So in order to actually use it, you have to create a webOS account, but every time I try, I get the error "We are unable to create an account for you.  Please try again in

  • SORT_AREA_SIZE and PGA_AGGREGATE_TARGET

    I am using SAP R/3 kernel 4.6D with oracle 10g. I found that in init.ora file SORT_AREA_SIZE is still defined even if the PGA_AGGREGATE_TARGET is defined and since the datbase is 10G WORK_AREA_SIZE_POLICY is by default auto. I would like to know is t