Hi to all!
I’m using Revive Ad Server to manage the ads on my website.
Ther’s a way to use the background image as a normal ad space?
I need to insert the javascript code to evoke the right banner.
Thanks
Hi Adrei. I want to use the background like a normal ad space and I’m trying to use different images that can change every new user session.
Is it possible to do it? I need to insert the javascript code to evoke the right banner.
<script type=’text/javascript’><!–//<![CDATA[
var m3_u = (location.protocol==’https:’?’https://www.website.it/www/delivery/ajs.php’:’http://www.website.it/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=2”);
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><noscript></noscript>
Hi
The theme was designed to display the same image as background ad every time an user visit the site. To display different images you will probably need a js script which load a different image when the user visit the site again.
This is a complex tack which require lots of customizations in theme’s core files and I can’t provide a quick answer now. You can also try a plugin which allow you to mange the background ads but I can’t make any recommendations in this regard as we didn’t do any tests, but you can check the most popular free plugins available, maybe someone from the community who uses such a plugin may provide some feedback.
If this does not help you can look for a freelancer form sites like http://studio.envato.com/ to do it for you as unfortunately we cannot offer custom work as we work hard on the development, updates, fixes and support.
Thanks!
Hi,
Thank’s for your reply!
I’v found a plugin for the background managment, but when i click on it, don’t open the link.
In the documentation i’v found thi FAQ: http://wordpress-advertising.com/faq/#faq/link-background-ads-not-working
They say:
If you added a background ad to your site but the link is not working it means that your theme has another full width container div above the main body. You will need to find out the ID of the specific container div and add this to the Background Container field in the shortcode editor.
If you can’t find the specific container ID please contact your Theme developer.
Thank you
Hi
The background ad is controlled by javascript and the class used for it is td-content-wrap: http://screencast.com/t/f6LKnoranMU
Thanks!