|
Posted by rwap on 07/24/06 23:47
jojo wrote:
> Els wrote:
>
> >> where should that code be? I can't find it on my page...
> >> http://shop.sgier.com/
> >> The left Advertisement Box is 125*125 but
> >> should be 120*90 as a linkBox.
> >
> > That's weird - if I just do a view source, and do a search for 125,
> > there is piece of Google JavaScript that states 125 height and width.
> > It's inside the first bit of google script, line nr. 138-140.
> > But there is no iframe.
> >
> > However, if I just look at the page and go to the block that says
> > "Advertisement", and select that entire block (with the Google ad in
> > it), and then right click and do a view selection source (in Firefox),
> > I get a DOM-source of selection, which clearly shows an iframe.
> > I'd say something in your JavaScript somewhere generates that iframe,
> > and it's 125x125 px, just like the Google ad.
> >
> I guess some google script does that. But it might be necessary to show
> the add: how else would you show content from a different domain on your
> page?
I am at a loss here - there are 3 google ads on the site - one 125x125
on the left hand side, one 120x600 on the right hand side and one 468x
60 at the bottom. All 3 display as coded on IE v7 and Opera v9 and if
the one on the left hand side were changed to 120x600, it would push
everything on the left hand side too far down the page to keep it
balanced.
However, if the author wants a 120x600 banner on the left hand side (as
well as on the right), then simply alter the code. The HTML giving the
problem is:
<script type="text/javascript"><!--
google_ad_client = "pub-8189704777307305";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as_rimg";
google_cpa_choice = "CAAQ-YOy0QEaCBJ_cFqMCYHjKK2293M";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Simply replace the google_ad_width, google_ad_height and
google_ad_format settings to (as per the one on the right hand side):
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
Rich Mellor
www.internetbusinessangels.com
[Back to original message]
|