Author: Scott Bowden
Posted: 2005-01-21 at 12:03:07
Isolate Google's script call in an include file, and then have a php
check at the bottom of your blog template, such as: if post_id =
max(post_id), include google_ad.inc (else do nothing). That should make
it so the <div> appears only once client-side.
I hope. :)
- Skaught
>>> Tgrahl@VALTIM.com 1/21/2005 11:34:10 AM >>>
I have fixed the iframe problem so the scrool thing isnt happening
anymore, however that didn't fix the flicker problem.
In my code I have wrapped the google javascript in an "if" statement
so
it will only be posted under the first entry, so since the "if"
statement is failing, it should not be trying to reload it everytime.
I
am completely lost.
Tim
> -----Original Message-----
> From: profox-bounces@leafe.com
> [mailto:profox-bounces@leafe.com] On Behalf Of Scott Bowden
> Sent: Friday, January 21, 2005 10:33 AM
> To: profox@leafe.com
> Subject: Re: [NF] Google Adsense Flicker - Firefox
>
>
> The flicker seems to only last as long as the blog is
> loading. As soon
> as the page is complete, the flicker stops. Possibly
> something in the
> WordPress template causing the iframe to reload when each
> entry is added?
>
> The 1px scroll might be caused by Firefox accounting for the
> 1px border on the top differently than IE does, effectively
> making the image
> height: 61px. Try making the iframe 61px and valign=top (or
> equivalent confangled CSS), and see if the scroll stops.
>
> - Skaught
>
> >>> Tgrahl@VALTIM.com 1/21/2005 10:13:02 AM >>>
> I have searched on several sites trying to find an answer to
> this problem and I cannot. I have added Google ads to my site
> ( www.bluecollarmtb.com ) and they are doing a strange
> flicker thing when I load the page in Firefox. It works fine
> with IE and Opera. Also, other people can see it as I have
> gotten a few friends with firefox to test it on their machine
> as well.
>
> Google uses iframes to show their ads and from what I can
> tell, firefox is not setting up the frame with enough height
> because you can scroll the ads a bit up or down even though
> they are set at a height of 60. Anyway, anybody know what is
> going on?
>
>
>
> --- StripMime Report -- processed MIME parts ---
multipart/alternative
> text/plain (text body -- kept)
> text/html
> ---
>
>
[excessive quoting removed by server]