Your Time:
Our Time:
← Back to discussions

links target=_blank on pages

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 1 reply, 2 voices, and was last updated 10 years, 11 months ago by Fem.

  • 2015-10-05 at 6:11 pm
    Supported
    #9982
    pamezamboni
    Participant
    • Topics: 2
    • Replies: 4
    • Total posts: 6
    • Post count: 4

    Hello, when I create a link with target=_blank in a page and link a PDF file, it open in self page, can you help me?
    An example of this is in this page
    http://lacolifata.com.ar/quienes-somos-mision-staff/ (link informe anual 2013)
    Thanks!

    2015-10-05 at 6:34 pm
    #9987
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Kindly please relpace the following line in ajaxify.js file located in the js folder.

    Find Code

    // Ajaxify
    $this.find('a:internal:not(.no-ajaxy,[href^="#"],[href*="wp-login"],[href*="wp-admin"],[data-rel^="prettyPhoto"])').live('click', function(event){

    Replace Code

    // Ajaxify
    $this.find('a:internal:not(.no-ajaxy,[href^="#"],[href*="wp-login"],[href*="wp-admin"],[data-rel^="prettyPhoto"],[target="_blank"])').live('click', function(event){

You must be logged in to reply to this topic.