Don't want to right click on a PDF link to save it!!!!

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Don't want to right click on a PDF link to save it!!!!

    Hi can any one help me to download a .pdf file with out doing save as but just
    to click on it and it will automatically go to the Save dialog box!!! I have a
    view document option and a download option on my page and it will be completely
    useless if they can just in the view option go and save the document so I want
    them to be able to download it whit out viewing it first!

    barry22 Guest

  2. Similar Questions and Discussions

    1. Auto-Click LInk
      I was just wondering if there is some kind of code so that I can have my "http://www.myspace.com" website to point to this website automatically. I...
    2. Save variable on a click
      I have a menu made up of images where users can click an image to load the next page. I want each image to send a unique id number to the page the...
    3. Link click detection?
      How might one detect if someone clicked on a hyperkink at your website, so it can be logged in a database? This would have to be done before the...
    4. on click of a link button should first save the data and then open a new browser
      Hi, A page consists of a link button. Clicking this link button should first save data in the database. If the data is saved correctly then it...
  3. #2

    Default Re: Don't want to right click on a PDF link to saveit!!!!

    Unfortunately, this just isn't supported by the browsers. If they have the
    Adobe Reader installed, a PDF will open directly. The only way to force a
    download is to give it an extension that doesn't have an associated browser
    plug-in, such as .zip, but then they have to go through the extra step of
    unzipping the file.

    I have long felt that HTML needs an attribute on the anchor tag to control
    this behavior - something like <a href="foo.pdf" forcedownload="true">, but
    alas, this doesn't exist.

    Rob Huddleston
    Adobe Certified Dreamweaver 8 Developer

    robhuddles Guest

  4. #3

    Default Re: Don't want to right click on a PDF link to save it!!!!

    This can be forced server-side, you know?

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "robhuddles" <webforumsuser@macromedia.com> wrote in message
    news:eiaf3r$mme$1@forums.macromedia.com...
    > Unfortunately, this just isn't supported by the browsers. If they have the
    > Adobe Reader installed, a PDF will open directly. The only way to force a
    > download is to give it an extension that doesn't have an associated
    > browser
    > plug-in, such as .zip, but then they have to go through the extra step of
    > unzipping the file.
    >
    > I have long felt that HTML needs an attribute on the anchor tag to control
    > this behavior - something like <a href="foo.pdf" forcedownload="true">,
    > but
    > alas, this doesn't exist.
    >
    > Rob Huddleston
    > Adobe Certified Dreamweaver 8 Developer
    >

    Murray *ACE* Guest

  5. #4

    Default Re: Don't want to right click on a PDF link to save it!!!!

    ..oO(robhuddles)
    >Unfortunately, this just isn't supported by the browsers. If they have the
    >Adobe Reader installed
    .... and the plugin activated ...
    >a PDF will open directly. The only way to force a
    >download is to give it an extension that doesn't have an associated browser
    >plug-in, such as .zip, but then they have to go through the extra step of
    >unzipping the file.
    You could also try to deliver the file as application/octet-stream,
    which should cause a download dialog.
    > I have long felt that HTML needs an attribute on the anchor tag to control
    >this behavior - something like <a href="foo.pdf" forcedownload="true">, but
    >alas, this doesn't exist.
    Thankfully. It would take away too much control from the user. It's not
    the author who has to decide what to do with a downloaded document. You
    can't force anything in the web - and that's a good thing.

    Micha
    Michael Fesser Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139