Hi all,
I've just made the jump from 3.8 to 4.2 and got most things back in place.
I was using OpenX to deliver banners using openx's localmode which is faster and less bandwidth than javascript calling (IIRC)
However without a plugin I have elected to see if I can get the javascript call to go to my existing campaigns and worry about performance and bandwidth later.
I have had a little success - not much - but enough to be encouraging.
I took on the ad_global_header1 template and added my javascript invocation code.
And you will see that to get it to sit to the right I took some code I found here and used it and it generates the following result:
and I really want it to be inline with the logo (top left) and under the user menu controls at the top right and centred on the page;
Like this mockup:
The template I am working in is the only one that displays anything using the invocation code - none of the other blocks seem to take any ad delivery. I would be happy to get started by placing the dedicated sponsor ad in the centre neatly at the top of the page without doubling the height of the header.
Many thnks if anyone can help me please.
W
I've just made the jump from 3.8 to 4.2 and got most things back in place.
I was using OpenX to deliver banners using openx's localmode which is faster and less bandwidth than javascript calling (IIRC)
However without a plugin I have elected to see if I can get the javascript call to go to my existing campaigns and worry about performance and bandwidth later.
I have had a little success - not much - but enough to be encouraging.
I took on the ad_global_header1 template and added my javascript invocation code.
Code:
<div style="float:right !important;margin-right:10px !important;"> <!--/* OpenX Javascript Tag v2.8.5 */--> <script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://cs.sourcepoint.com.au/openx/www/delivery/ajs.php':'http://cs.sourcepoint.com.au/openx/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=8&target=_blank&block=1"); 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>"); //]]>--></script> </div>
and I really want it to be inline with the logo (top left) and under the user menu controls at the top right and centred on the page;
Like this mockup:
The template I am working in is the only one that displays anything using the invocation code - none of the other blocks seem to take any ad delivery. I would be happy to get started by placing the dedicated sponsor ad in the centre neatly at the top of the page without doubling the height of the header.
Many thnks if anyone can help me please.
W
Comment