test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • ubelmort Friend
    #177698

    So when would it be possible to add target=”_blank” to the url string for each source link. Because it’s kinda annoying that it uses the same tab and leaves my page.

    It’s probably a easy change, I just need the time to look over the files/code to see how it inputs the field into K2 and just add target=”_blank” to that string, but if someone already knows which file that would be great. I will look around and if I find it I will post the results

    ubelmort Friend
    #455482

    Ok after looking into the issue, target=_blank is there but it doesn’t work for Popup Windows. It works if you disable the Popup feature. But when clicking a link in a popup, it opens on the same page.

    Wall Crasher Developer
    #455775

    Hi ubelmort,

    You can change the target via this file.
    templatesja_walljswall.js

    line 227

    $(doc.body).find('a').attr('target', '_blank');

    or replace with this.

    $(doc.body).find('a').each(function(){
    if($(this).attr('target') != '_blank'){
    $(this).attr('target', '_parent');
    }
    });

    Hope this help.
    Regards

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Wall Crasher 12 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum