new tab works. Thanks a lot! It was in "iframe" because I've check that option in adplugg. Please look at radioklinika.pl and see how it is show without this option. Banner has 750x100. Placement allow that size. Any idea how to fix that!
Hi,
I've got an urgent question and need your help. I've paste a third party code like that:
<div id="ceneoaffcontainer384862"></div><script type="text/javascript">var stamp = parseInt(new Date().getTime()/86400, 10);var script = document.createElement('script');script.setAttribute('type', 'text/javascript');script.setAttribute('src', '//partnerzyapi.ceneo.pl/External/dc.js?id=384862&channelId=13807&partnerId=10944&graphicId=2905&newTab=false&'+stamp);script.setAttribute('charset', 'utf-8');var head = document.getElementsByTagName('head')[0];head.appendChild(script);</script>
I checked an option "iframe" because without it banner was shown improper. But now it is unclickable? What did I do wrong? How to make it to open it in a new window?
You can see it on Radioklinika.pl in header
Best regards
Jurek
Hi, I tried switching the part of that tag where it says "newTab=false" to "newTab=true" and that fixed it. Without that, the ad tries to load inside the iframe which isn't allowed based on the X-Frame-Options=sameorigin header returned by the advertiser's server. The X-Frame-Options=sameorigin error could be seen in the Chrome Developer Tools console.