Would like to open link in a new window

  • Profile Image
    Arvig
    Asked on June 01, 2017 at 02:06 PM

    Hi, we are having an issue with how our form displays on our website.  We want to make it so when someone clicks a link a PDF will open in a new window.  Currently we are having the issue that the PDF opens in iFrame on our website.

     

    How can we make it so that it opens in a new window and keeps the form the same on the website?

     

    Thank you!

  • Profile Image
    Mike
    Answered on June 01, 2017 at 04:42 PM

    Please try adding a  attribute to the links. Then, test it again.

    Example:

    <a target="_blank" href="http://www.example.com/file.pdf" rel="nofollow noopener" >PDF Link</a>

    If you need any further assistance, please let us know.

  • Profile Image
    Mike
    Answered on June 01, 2017 at 04:45 PM

    Looks like the link in my answer was stripped, here it is:

    HTML < a > target Attribute

  • Profile Image
    flinenergy
    Answered on June 13, 2017 at 10:15 AM

    Thanks MIKE! Helped me fix my website so quickly :)