Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #224225

    Hello ^__^ I’m working in Enfold. I have the Twitter widget and the advertising widget added to the footer.

    http://www.trikego.com

    I would like the link to Twitter and the three link on the left (the three images marked as “friends” and “partners”, always inserted in the footer, such as advertising area in the second and third column), to be opened in a new window: What or where I need to change it to open in a new window? Now, both Twitter and the other three, open the link on the same page, I would rather be opened in a new page, Many thanks for everything. Bruno

    #224231

    Hi,

    Try adding this at the end of js/avia.js:

    jQuery(function() {
    jQuery(function(){jQuery('a[href][rel*=external]').each(function(i){this.target = "_blank";});
    });

    Regards,
    Josue

    #224234

    Sorry Josue, I did update the theme and there is no more avia.js JS: What do you suggest?

    #224235
    #224241

    I’m sorry, maybe there was a cache problem in FTP connection. I did like indicavi, but continues to open in the same window: you want me to send the file avia.js?

    #224242

    There are no JS expert, I did as you suggested

    jQuery(function() {
    jQuery(function(){jQuery(‘a[href][rel*=external]’).each(function(i){this.target = “_blank”;});
    });

    but it gave me error. I tried with

    jQuery(function(){jQuery(‘a[href][rel*=external]’).each(function(i){this.target = “_blank”;});
    });

    but does not change, the link opens in the same window. Can you solve the problem? Many thanks Josua

    #224244

    Hi,

    Can you create an administrator account and post it here as a private reply?

    Regards,
    Josue

    #224245
    This reply has been marked as private.
    #224246
    This reply has been marked as private.
    #224247

    Sorry, try with this code instead:

    jQuery(function() { jQuery(function(){jQuery('#footer a').each(function(i){this.target = "_blank";}); }); });
    

    Cheers!
    Josue

    #224248
    This reply has been marked as private.
    #224249
    This reply has been marked as private.
    #224289

    You are welcome, glad we could help :)

    Regards,
    
Josue

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Widgets in the Footer: how to open links in a new page’ is closed to new replies.