/* Add your JavaScript code here. if you are using the jQuery library, then don't forget to wrap your code inside jQuery.ready() Is nodig omdat deze code wordt ingevoegd voor jQuery ! ! */ jQuery(document).ready(function( $ ){ // Blank window //Check all links on page $('a') .filter(function() { //abort if we're dealing with an internal link return this.hostname && this.hostname !== location.hostname; }) //add class .addClass("external") .attr({target: "_blank"}); });