xoops forums

eskwire

Just popping in
Posted on: 2003/12/10 14:14
eskwire
eskwire (Show more)
Just popping in
Posts: 9
Since: 2002/2/3 2
#1

Google Adsense and IE

Was wondering if anyone has any tips for adding google adsense to there site?

I have added the code to my site and all works well in the latest version of Netscape but not IE.

The site: www.lcd-tv-reviews.com

My XOOPS version is 2.0.5

What I have done:

Created a block that is visible on the left side
Assigned block access right to anonymous users
the block is an HTML block
added the following code to my site

<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXXX";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_color_border = "DFF2FD";
google_color_bg = "DFF2FD";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

All works well in Netscape but not IE
In fact in IE the XOOPS pages will not display completely

any thoughts?


you can check it out LCD TV Reviews

Thanks so much

lykoszine

Module Developer
Posted on: 2003/12/10 14:57
lykoszine
lykoszine (Show more)
Module Developer
Posts: 244
Since: 2002/1/2 2
#2

Re: Google Adsense and IE

try ending your last script tag with />

<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js" />

eskwire

Just popping in
Posted on: 2003/12/10 15:20
eskwire
eskwire (Show more)
Just popping in
Posts: 9
Since: 2002/2/3 2
#3

Re: Google Adsense and IE

Hey you know what really helps a <script>?

a

</script>

Realized my mistake and all was well with the world.

that what get for trying to get a jump on the day.

Thanks for all that read this.

raghavan

Just popping in
Posted on: 2004/1/21 4:57
raghavan
raghavan (Show more)
Just popping in
Posts: 13
Since: 2003/6/22
#4

Re: Google Adsense and IE

Hi
I tried this and everything else for my web site - bpoforum.org and it still doesn't work. How did you make it work?
Any ideas...anyone?
thanks

DobePhat

Friend of XOOPS
Posted on: 2004/1/21 5:25
DobePhat
DobePhat (Show more)
Friend of XOOPS
Posts: 656
Since: 2003/4/15
#5

Re: Google Adsense and IE

hmm I also have this problem...but didn't think it was a real issue.

I figured it just recognized my IP or something as it seems to display on IE when I am away from home.

Have you tried it at a friends house?

I think it may be the case...
Don't know why it would work in Netscape and not IE...
though....
hmmmmmm

raghavan

Just popping in
Posted on: 2004/1/21 19:05
raghavan
raghavan (Show more)
Just popping in
Posts: 13
Since: 2003/6/22
#6

Re: Google Adsense and IE

Yes I tried everything. Doesn't work - on Netscape or IE.

Draven

Module Developer
Posted on: 2004/1/21 19:44
Draven
Draven (Show more)
Module Developer
Posts: 337
Since: 2003/5/28
#7

Re: Google Adsense and IE

Check your code, you've done something wrong. I've had adsense running on my site for 4 months now and never had a problem.

flaxy

Just popping in
Posted on: 2004/1/21 20:21
flaxy
flaxy (Show more)
Just popping in
Posts: 47
Since: 2003/11/21
#8

Re: Google Adsense and IE

I have it on my site as well with no issue. Its running a block that sits ontop of every page along with my amazon block

raghavan

Just popping in
Posted on: 2004/1/22 4:48
raghavan
raghavan (Show more)
Just popping in
Posts: 13
Since: 2003/6/22
#9

Re: Google Adsense and IE

what's ur site flaxy?

raghavan

Just popping in
Posted on: 2004/1/22 4:51
raghavan
raghavan (Show more)
Just popping in
Posts: 13
Since: 2003/6/22
#10

Re: Google Adsense and IE

ok...here's my code ....exactly - tell me what's wrong:

<script type="text/javascript"><!--
google_ad_client = "pub-7428017552574257";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>