1
eskwire
Google Adsense and IE
  • 2003/12/10 14:14

  • eskwire

  • Just popping in

  • Posts: 9

  • Since: 2002/2/3 2


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

2
lykoszine
Re: Google Adsense and IE
  • 2003/12/10 14:57

  • lykoszine

  • Module Developer

  • Posts: 244

  • Since: 2002/1/2 2


try ending your last script tag with />

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

3
eskwire
Re: Google Adsense and IE
  • 2003/12/10 15:20

  • eskwire

  • Just popping in

  • Posts: 9

  • Since: 2002/2/3 2


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.

4
raghavan
Re: Google Adsense and IE
  • 2004/1/21 4:57

  • raghavan

  • Just popping in

  • Posts: 13

  • Since: 2003/6/22


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

5
DobePhat
Re: Google Adsense and IE
  • 2004/1/21 5:25

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


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

6
raghavan
Re: Google Adsense and IE
  • 2004/1/21 19:05

  • raghavan

  • Just popping in

  • Posts: 13

  • Since: 2003/6/22


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

7
Draven
Re: Google Adsense and IE
  • 2004/1/21 19:44

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


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.

8
flaxy
Re: Google Adsense and IE
  • 2004/1/21 20:21

  • flaxy

  • Just popping in

  • Posts: 47

  • Since: 2003/11/21


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

9
raghavan
Re: Google Adsense and IE
  • 2004/1/22 4:48

  • raghavan

  • Just popping in

  • Posts: 13

  • Since: 2003/6/22


what's ur site flaxy?

10
raghavan
Re: Google Adsense and IE
  • 2004/1/22 4:51

  • raghavan

  • Just popping in

  • Posts: 13

  • Since: 2003/6/22


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>

Login

Who's Online

95 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 95


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits