Ad issue for header banner
-
Hi guys,
Got a bit of an issue with the header banner. I want to put this Javascript code in the header banner:
<span id=”i6ce21″><script type=”text/javascript” src=”//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js”></script><script type=”text/javascript”>var $m=jQuery.noConflict();$m(document).ready(function(){var c=”https://www.thiis.co.uk/mysimpleads/mysa_output.php?callback=?&sid=i6ce21&show_ad=84″;a();function a(){$m.getJSON(c,function(h){$m.each(h,function(j,k){$m(“#i6ce21”).html(k[0].code)})});}});</script></span>
I have put this code into shortcoder and put the shortcode into the box as [sc:ad] but it is not working. I also have the code as a PHP insert but this is not working in shortcoder either:
<?php /* OT AT Today test */ chdir(“H:/hshome/editwm0/thiis.co.uk/mysimpleads”); include_once(“H:/hshome/editwm0/thiis.co.uk/mysimpleads/mysimpleads.php”);show_ad(84); ?>
Do you have any ideas how I can make this work? I know the codes work as I used the javascript code in a text widget and it worked fine.
Many thanks,
Calvin
- The topic ‘Ad issue for header banner’ is closed to new replies.