View Full Version : adsense code in a variable

05-15-2009, 01:28 PM

can anyone help me on this script?
this is my script

<script type="text/javascript">
function fc() {
var tt = '
<script type="text/javascript"><!--
google_ad_client = "pub-7623161287453232";
/* Download Butt 234x60, created 5/14/09 */
google_ad_slot = "0574420856";
google_ad_width = 234;
google_ad_height = 60;
<script type="text/javascript"
document.getElementById("dl").innerHTML = tt;


<div id="dl">&nbsp;<h3 style="font-size: 24pt;" id="zeit">dd</h3></div>

<script type="text/javascript">

in a part of my script I want to add google adsense code in "tt" variable
but I get error when I add the google code into that .
I think //--> in the google code makes problem.
can you add the adsense code in the tt variable without any error?
please help me.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum