1
Diplomat
EDITO & Javascript
  • 2004/12/26 21:47

  • Diplomat

  • Just popping in

  • Posts: 19

  • Since: 2004/12/17


I'm using the EDITO module on my site and would like to embed the Google affiliate Javascript code into the editos created, but the code below doesn't work:

-----------------
<script type="text/javascript"><!--
google_ad_client = "pub-0651760906053123";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_channel ="9620564558";
google_ad_type = "text";
google_color_border = "003366";
google_color_bg = "000000";
google_color_link = "FFFFFF";
google_color_url = "FF6600";
google_color_text = "FF6600";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
-----------------

Any ideas why? I've tried replacing the double quotes with single quotes. Also, normal Javascript code seems to work fine.

Also, any way to suppress listing all the individual articles on the menu block, i.e. expanded menu listing on the Main Menu block.

Thanks
Steve

Login

Who's Online

106 user(s) are online (77 user(s) are browsing Support Forums)


Members: 0


Guests: 106


more...

Donat-O-Meter

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

Latest GitHub Commits