Jump to content

Coding help required, unable to display banner on iphone


Steve Bullman

Recommended Posts

Hi, I wonder if someone may be able to help.  I have this banner code displayed in global template.

<div class="wm-header-ad">
          <script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'https://arbchat.co.uk/serve/www/delivery/ajs.php':'http://arbchat.co.uk/serve/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=12");
   document.write ('&cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
   document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
   document.write ("&loc=" + escape(window.location));
   if (document.referrer) document.write ("&referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]]]><![CDATA[>--></script><noscript><a href='https://arbchat.co.uk/serve/www/delivery/ck.php?n=aa0a2ebf&cb=9875486' target='_blank'><img src='https://arbchat.co.uk/serve/www/delivery/avw.php?zoneid=12&cb=9875486&n=aa0a2ebf' border='0' alt='' /></a></noscript>
</div>                        

It is displaying the Stihl banner in the header.  It works if I resize the window to mobile view, and it also works on Android, but for some reason I can't get it to display on iPhone.  I have tried a couple of different phones to make sure its not settings on my phone.  Perhaps anyone here with an iPhone could confirm if it shows for them?

Aside from that i'm stuck.  Anyone got any ideas?  I use the same code to display other banners throughout the site and they are all displaying on iPhone just fine.

 

URL is https://arbtalk.co.uk

And this is what it should look like

611316175_ScreenShot2018-11-17at14_37_13.png.d86681b49645a4609f3cf934ab3ecd0a.png

 

Thanks in advance!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...