naeembhatti
11-11-2006, 09:46 AM
i have a div in which i am willing to print google ads, it alerts everything fine but it is not showing any thing even if u use document.write(google ads); it does not print any thing my code is here
y=document.getElementById('display_record');//setTimeout("y.style.display ='block'",50000);
y.style.display ='block';
y.innerHTML = '<p><script type="text/javascript"><!-- google_ad_client = "pub-8412861453096424"; google_ad_width = 468; google_ad_height = 60;google_ad_format = "468x60_as";google_ad_type = "text_image"; google_ad_channel ="8021588331";//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js "></script></p>';
y=document.getElementById('display_record');//setTimeout("y.style.display ='block'",50000);
y.style.display ='block';
y.innerHTML = '<p><script type="text/javascript"><!-- google_ad_client = "pub-8412861453096424"; google_ad_width = 468; google_ad_height = 60;google_ad_format = "468x60_as";google_ad_type = "text_image"; google_ad_channel ="8021588331";//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js "></script></p>';