Image AD Background

Wednesday, November 4, 2015

I'm trying to use my adserver (I'm using Revive ad server) instead for my wp website custom ad plugin.



I have a testing site here: http://pixel.entertainment-trading.com/



And the real site here with running the wordpress plugin: http://pixel.tv/



But the only Tags i can get from the ad server is.




  • Asynchronous JS Tag

  • Javascript Tag

  • Iframe Tag

  • Local Tag (PHP)



The code on the main site is



        <?php 
if (!empty($favolaPixelAdsWallpaper)):
?>
<div id="fWallpaper" class="fHasWallpaper" style="background-image:url('<?php echo $favolaPixelAdsWallpaper['url']; ?>');background-color:#<php echo $favolaPixelAdsWallpaper['color']; ?>">
<?php
else:
?>
<div id="fWallpaper">
<?php
endif;
?>


The code for the test site witch i wish to try on the ad server on is



            <div id="fWallpaper" class="fHasWallpaper">
<ins data-revive-zoneid="7" data-revive-id="8f9b4eec208269e342251b95141552b4"></ins>
//pixel.tv/ads/www/delivery/asyncjs.php


The css is the same of both



#fWrapper>#fContainer #fWallpaper {
width: 100%;
min-height: 1px;
background-repeat: no-repeat;
background-position: top center;
overflow: hidden;
}


How can i get it at a background

0 comments:

Post a Comment