Hi Guys:

I've tried search and implementing all I found there, and I still can't get Google AdSense Java code to display in a custom island.

Here's the Java code as generated by Google:
Code
<script type="text/javascript"><!--
google_ad_client = "pub-7613791073340750";
/* 160x90, created 9/4/09 */
google_ad_slot = "9256914271";
google_ad_width = 160;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


And here's my implementation ... basically putting it between the EOFs wih no spaces.

Code
/* BODY HERE */

$body = <<<EOF
<div align="center">
<script type="text/javascript">
<!--
google_ad_client = "pub-7613791073340750";
/* 160x90, created 9/4/09 */
google_ad_slot = "9256914271";
google_ad_width = 160;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
EOF;
/* DO NOT CHANGE THE LINE ABOVE */

No workee. Can anybody help?

Rick


Last edited by Gizmo; 09/05/2009 4:53 PM. Reason: [code] tags

Rick