0
I have an application that in the footer I put an IFRAME that rotates the banners. It turns out that when you click it hangs and does not open the new window with the advertiser’s website.
Where am I going wrong?
<iframe id='a177cc70' name='a177cc70' src='http://www.meudominio.com.br/www/delivery/afr.php?refresh=3&zoneid=3&target=_blank&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&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://www.meudominio.com.br/www/delivery/avw.php?zoneid=3&cb=INSERT_RANDOM_NUMBER_HERE&n=acf755b6' border='0' alt='' /></a></iframe>
If anyone can help me, I really appreciate it
Hugs
Hello Thiago. I actually use Iframe to rotate my banners and this way it doesn’t work because it gets lost in the rotations... I’d have some other alternative ?
– Roger
The whole problem lies in Iframe, tells me the following in which mobile browser you tested?
– Thiago Santos
I use Intel XDK but create the application and test on my Android. It rotates normal banners but when you click it crashes.
– Roger
That’s where the problem comes in, you’re running inside an app, right? There is no new window for it to open, as it emulates a browser in your App to run this IFRAME. The only way to do this is by making a call from your App by opening another App (in case the browser) already at the desired url.
– Thiago Santos
Got it...would you have an example so I can follow? I’m well lost in this and need to finish... Thanks
– Roger