Good Morning,
I was trying to get the class "mk-flex-slide" in a WordPress-Theme open in a new window (target="_blank"), because this plugin has no function to add it. what am I doing wrong?
This is the site: http://heilpflanzen.wiki/loewenzahn-pusteblume/#4
just scroll down a few px to this pic (the sliding pics should open on click in a new window):
I tried this code:
window.onload = function(){
var anchors = document.getElementsByClassName('flex-active-slide').getElementsByTagName('a');
for (var i=0; i<anchors.length; i++){
anchors[i].setAttribute('target', '_blank');
}
}