Link to home
Start Free TrialLog in
Avatar of jonathanduane2010
jonathanduane2010

asked on

replacing ad on website

Hi Guys,

i am trying to replace this image <img src="http://aka-cdn-ns.adtech.de/images/AT225_728x90_5.gif" border="0" alt="AdTech Ad" width="728" height="90"> on the site here at

http://iradio.ie (its the one at the top)

I dont know where to change it in the code however?

there is a bannerBox in assets/css/main.css but it just shows this

masthead .bannerBox {
      width:728px;
      height:90px;
      float:left;
      overflow:hidden;

i am basically trying to iframe this

http://iradio.ie/air/index.html  to replace whats currently there

thanks guys
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Looks like it is served dynamically into the "bannerBox" div by JavaScript running on a foreign server.  Look near line 52 in the "view source" output.
                <div class="bannerBox">                 <!--JavaScript Tag with group ID // Tag for network 1142: i-Believe // Website: i102104.ie // Page: Homepage // Placement: Homepage top 728x90 (2906733) // created at: Apr 11, 2011 3:42:11 PM-->
                    <script type="text/javascript">
                    <!--
                    if (window.adgroupid == undefined) {
                        window.adgroupid = Math.round(Math.random() * 1000);
                    }
                    document.write('<scr'+'ipt language="javascript1.1" src="http://adserver.adtech.de/addyn/3.0/1142/2906733/0/225/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp='+window.adgroupid+';misc='+new Date().getTime()+'"></scri'+'pt>');
                    //-->
                    </script><noscript><a href="http://adserver.adtech.de/adlink/3.0/1142/2906733/0/225/ADTECH;loc=300;key=key1+key2+key3+key4" target="_blank"><img src="http://adserver.adtech.de/adserv/3.0/1142/2906733/0/225/ADTECH;loc=300;key=key1+key2+key3+key4" border="0" width="728" height="90" alt="" /></a></noscript>
                    <!-- End of JavaScript Tag -->
                    </div>

Open in new window

Avatar of jonathanduane2010
jonathanduane2010

ASKER

yes, that is being served by a foreign server, is there a way i can replace it though?
the code is being served from a foreign server but i want to take that code away? the adtech code?
i suppose what i am trying to do trying to edit the homepage, i was able to edit http://iradio.ie/player.php with the ads i wanted to put in, i wanted to do the same for the top of the home page at http://iradio.ie
... that is being served by a foreign server, is there a way i can replace it though?
I think you can remove the div.  I don't pretend to know where the HTML is created, but that is what I would look for - if you can modify the HTML that is being used to render the web page, you can remove this div.

If you want to test first, without effect on the browser rendering, try putting in an THML comment tag.  you will be able to see it in "view source" and it will not disrupt browser rendering.
thanks Ray, is there anyway i can edit the div to place even the image that sits at http://iradio.ie/air/backup.jpg (even better would be putting an iframe there of http://iradio.ie/air/index.html)

but either would be great
anyway i can edit the div...
Probably, but without some more information I do not know how the HTML document is created.  Is this site something created by WordPress or Drupal?  These CMS and Framework systems have templates and draw heavily on database systems to create their HTML.
ASKER CERTIFIED SOLUTION
Avatar of jonathanduane2010
jonathanduane2010

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial