Zum Hauptinhalt gehen

Download link in feature description opens new tab instead of downloading

Kommentare

6 Kommentare

  • Permanently deleted user
    Hi Alice,

     

    Are you using Internet Explorer?  Unfortunately Internet Explorer does not support the download parameter.  If you try Chrome it should work as expected.

     

    Regards,

     

    Wayne
    0
  • Permanently deleted user
    FYI, here is what I referred to - https://caniuse.com/#feat=download
    0
  • Permanently deleted user
    Hi! 

     

    I'm using Chrome and the Html5Viewer is version 2.10.

     

    The download link works with .tif files but for .txt and .pdf, a new tab will open. 
    0
  • Permanently deleted user
    OK, in that case, please check out this article - 

     

    https://www.computerhope.com/issues/ch001114.htm

     

    it shows the setting in Chrome that needs to be changed.

     

    Regards,

     

    Wayne
    0
  • Permanently deleted user
    I don't think that's the right approach to take in my case. If I want to have a "view document" link and another "download document" link in the feature description, disabling the pdf setting in Chrome would only allow me to do one or the other. 

     

     

     

     
    0
  • Permanently deleted user
    The problem is the user's browser settings determine what happens to a link when it's clicked on, it's not possible to force a certain behaviour.  Browsers intentionally do this due to the security risks with downloading files and clicking links

     

    Perhaps someone else has had some success and can join in this conversation.

     

    Regards,

     

    Wayne
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.