How to customize google adsense lay out - font face, size, color, number of ads, etc. for example www.about.com, www.cricketnext.com. This is legal. I also attached show_ads.js here. Plz help me to do the same.I tried same on my web page but not working. any questions regarding the same welome. Any help for html, web designing, blogging, sources for codes, wordpress, shopping cart installation, i will help you just mail me. I like this website.------------------------------------------------------------------------------
CODE
<script language=JavaScript>
function google_ad_request_done(google_ads)
{
var s = '';
var i;
if (google_ads.length == 0)
{
return;
}
if (google_ads[0].type == "image")
{
s += '<a href="' + google_ads[0].url +
'" target="_top" title="go to ' + google_ads[0].visible_url +
'"><img style="border:none;" src="' + google_ads[0].image_url +
'"width="' + google_ads[0].image_width +
'"height="' + google_ads[0].image_height + '"/></a>';
}
else
{
if (google_ads.length == 1)
{
/*
* Partners should adjust text sizes
* so ads occupy the majority of ad space.
*/
s += '<td align=center><a href="' + google_ads[0].url + '" ' +
'onmouseout="window.status=\'\'" ' +
'onmouseover="window.status=\'go to ' +
google_ads[0].visible_url + '\'" ' +
' class="red-11" style="font-size:10px">'+
google_ads[0].line1 + '</a><br>' +
'<a href="' + google_ads[0].url + '" ' +
'onmouseout="window.status=\'\'" ' +
'onmouseover="window.status=\'go to ' +
google_ads[0].visible_url + '\'" ' +
' class="grey11" ><font style="text-decoration:none;"><font class=ash11><font color=black>' +
google_ads[0].line2 + ' ' +
google_ads[0].line3 + '</font></a></td>';
}
else if (google_ads.length > 1)
{
/*
* For text ads, append each ad to the string.
*/
for(i=0; i < google_ads.length; ++i)
{
s += '<td width=250px valign=top><a href="' + google_ads[i].url + '" ' +
'onmouseout="window.status=\'\'" ' +
'onmouseover="window.status=\'go to ' +
google_ads[i].visible_url + '\'" ' +
' class="red-11" style="font-size:14px">' +
'<font class=ash11 color=#0099ff><b>' + google_ads[i].line1 + '</b></a><br>' +
'<a href="' + google_ads[i].url + '" ' +
'onmouseout="window.status=\'\'" ' +
'onmouseover="window.status=\'go to ' +
google_ads[i].visible_url + '\'" ' +
' class="grey11" style="text-decoration:none;"><font style="text-decoration:none;"><font class=ash11 color=black>' +
google_ads[i].line2 + ' ' +
google_ads[i].line3 + '</font></a></td>';
if(i<1)
{
s +='<td width=30px></td>';
}
}
}
}
document.write(s);
return;
}
google_ad_client = 'pub-2242539371574078';
//2007-09-20: blog
google_ad_channel = "6442827050";
google_ad_output = 'js';
google_max_num_ads = '4';
google_targeting = 'content';
google_ad_type='text';
google_feedback = 'on';
google_language = 'en';
google_encoding = 'utf8';
google_ad_section = 'default';
</SCRIPT>
<script language=JavaScript
src="./show_ads.js">
</SCRIPT>
[Mod Edit] Use the code tags.