i have this php code:
echo "<div class='show-popup'><a class='button-popup-container-right' href='javascript:apri('popup.html');' target='_blank'><i class='far fa-play-circle'></i> ASCOLTA LA RADIO</span></a></div>"
but, when i click on the link the path is only "javascript:apri("
I have inserted this script in the footer of the page
function apri(url) {
newin = window.open(url,'Player','top=50, left=50,scrollbars=no,resizable=yes,width=400,height=550,status=no,location=no,toolbar=no,nomenubar=no');
}
Can anyone help me please?