Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9246

    Hi, how could I give all ilinks another target e.g. _blank?

    Thanks for your support!

    #64024
    #64025

    Thank you! But I cannot find the custom.js within the corona theme or do I have to create it and refer to it within the header.php!?

    #64026

    Ok, I tested all 3 alternatives and no one works. I cannot find the file custom.js within the corona theme, what to do now?

    I already attempt it within the file avia.js – no success

    #64027

    Open up js/avia.js and replace:

    jQuery(document).ready(function(){

    with:

    jQuery(document).ready(function(){
    jQuery("a[href^='http:']").not("[href*='kriesi.at']").attr('target','_blank');

    Instead of kriesi.at insert your own domain (including the subdomain prefix if applicable). All links which link to external domains will open in a new tab/window afterwards. Make sure that you clear the browser cache before you test the modified js file.

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

The topic ‘ilink with target’ is closed to new replies.