Banner in IFRAME does not open new window IOS and ANDROID

0

I have an application that in footer I put an IFRAME that rotates the banners. It turns out that when you click it it hangs and it does not open the new window with the advertiser's site.

Where am I going wrong?

<iframe id='a177cc70' name='a177cc70' src='http://www.meudominio.com.br/www/delivery/afr.php?refresh=3&amp;zoneid=3&amp;target=_blank&amp;cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no' width='320' height='50' allowtransparency='true'><a href='http://www.meudominio.com.br/www/delivery/ck.php?n=acf755b6&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://www.meudominio.com.br/www/delivery/avw.php?zoneid=3&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=acf755b6' border='0' alt='' /></a></iframe>

If someone can help me, thank you too

Hugs

    
asked by anonymous 06.02.2017 / 13:03

1 answer

0

If you simply want the click on the Iframe to take you to a new tab, use the <a> instead of <iframe> instead. So:

<a href='http://www.meudominio.com.br/www/delivery/ck.php?n=acf755b6&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><iframe id='a177cc70' name='a177cc70' src='http://www.meudominio.com.br/www/delivery/afr.php?refresh=3&amp;zoneid=3&amp;target=_blank&amp;cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no' width='320' height='50' allowtransparency='true'><img src='http://www.meudominio.com.br/www/delivery/avw.php?zoneid=3&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=acf755b6' border='0' alt='' /></iframe></a>
    
06.02.2017 / 13:24