Top area adsense error in firefox

LeMale - March 24, 2009 - 20:29
Project:Aberdeen
Version:5.x-1.7
Component:User interface
Category:support request
Priority:critical
Assigned:LeMale
Status:active
Description

hello,
I added a bloc with adsense code, the 728x15 menu, to the top area, in ie it work as it should but in firefox I see this in the top area :

#1

LeMale - March 24, 2009 - 20:32

hello,
I added a bloc with adsense code, the 728x15 menu, to the top area, in ie it work as it should but in firefox I see this in the top area : < ! -- google_ad_client = "pub ......." .... . (on two lines) and then the adsense menu.
I tried the module adense and the result was the same.
any idea ?
Regards

#2

jpereza - April 7, 2009 - 12:44

Hello,

I have the same problem with AdSense in the header section. It works fine in IE, but in Firefox and Chrome it is displaying the javascript code.

If the AdSense block is moved to the footer section, it works well on all browsers, so it is related to the header section.

#3

jpereza - April 7, 2009 - 14:46

I think this is the same problem that happened to Garland some time ago, see this issue:
#102252: Garland shows script source in header

Adding this code to style.css worked for me:

#topbar script {
display: none;
}

 
 

Drupal is a registered trademark of Dries Buytaert.