Skip to content

how can i say dont use djax for target="blank" link #27

@akinayturan

Description

@akinayturan

hi i want to open some internal link in new window without old page reload
but it is not posible for now, do you have any solition for this ?

example: < a href="site-com/sitemap.xml" target="_blank">Sitemap< /a>

i found a solution with this but its not good, every time page reload :)


$('body').on('click', 'a[target^=_blank], a[rel^=external], function(e) {  
        window.open($(this).attr('href'));
    location.reload();
        return false;
      });   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions