Faça assim: <!-- begin snippet: js hide: false console: true --> <!-- language: lang-html --> <a href="http://www.bbc.com/news/" onclick="abrir(this);return false;">Clique</a> <a href="http://www.abola.pt/" onclick="abrir(this);return false;">Clique</a> <a href="http://www.usatoday.com/" onclick="abrir(this);return false;">Clique</a> <script> function abrir(ele) { var iframe = document.createElement('iframe'); iframe.src = ele.href; iframe.width = 240; iframe.height = 180; document.body.appendChild(iframe); } </script> <!-- end snippet --> Ou se quiser estar sempre a substiruir: <!-- begin snippet: js hide: false console: true --> <!-- language: lang-html --> <a href="http://www.bbc.com/news/" onclick="abrir(this);return false;">Clique</a> <a href="http://www.abola.pt/" onclick="abrir(this);return false;">Clique</a> <a href="http://www.usatoday.com/" onclick="abrir(this);return false;">Clique</a> <script> function abrir(ele) { var elem = document.getElementById('dinamic_iframe'); if(elem !== null) { // remover caso exista elem.remove(); } var iframe = document.createElement('iframe'); iframe.src = ele.href; iframe.id = 'dinamic_iframe'; iframe.width = 240; iframe.height = 180; document.body.appendChild(iframe); } </script> <!-- end snippet -->