广告联盟网

标题: 看到一种GGAD代码投放形式套在JS里的 [打印本页]

作者: user52    时间: 2006-7-27
标题: 看到一种GGAD代码投放形式套在JS里的
function ObjectAD() {}
function BannerZoneAD(_id) {
  this.AddAD       = BannerZoneAD_AddAD;
  this.Show        = BannerZoneAD_Show;
}
function BannerZoneAD_AddAD(_AD) {document.write(_AD.ADIntro); }
function BannerZoneAD_Show() {}
var ZoneAD_3 = new BannerZoneAD("ZoneAD_3");
ZoneAD_3.ZoneID      = 3;
ZoneAD_3.ZoneWidth   = 760;
ZoneAD_3.ZoneHeight  = 60;
ZoneAD_3.ShowType    = 2;

var objAD = new ObjectAD();
objAD.ADID           = 12;
objAD.ADType         = 4;
objAD.ADName         = "google-文章中间760)90-bloginfocn@yahoo";
objAD.ImgUrl         = "";
objAD.ImgWidth       = 0;
objAD.ImgHeight      = 0;
objAD.FlashWmode     = 0;
objAD.ADIntro        = &quot;<script type=\&quot;text/javascript\&quot;><!--\n\rgoogle_ad_client = \&quot;pub-6023902382924681\&quot;;\n\rgoogle_alternate_color = \&quot;EDF0F5\&quot;;\n\rgoogle_ad_width = 728;\n\rgoogle_ad_height = 90;\n\rgoogle_ad_format = \&quot;728x90_as\&quot;;\n\rgoogle_ad_type = \&quot;text_image\&quot;;\n\rgoogle_ad_channel =\&quot;7261846552\&quot;;\n\rgoogle_color_border = \&quot;EDF0F5\&quot;;\n\rgoogle_color_bg = \&quot;EDF0F5\&quot;;\n\rgoogle_color_link = \&quot;CC0000\&quot;;\n\rgoogle_color_text = \&quot;000000\&quot;;\n\rgoogle_color_url = \&quot;008000\&quot;;\n\r//--></script>\n\r<script type=\&quot;text/javascript\&quot;\n\r  src=\&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js\&quot;>\n\r</script>&quot;;
objAD.LinkUrl        = &quot;&quot;;
objAD.LinkTarget     = 1;
objAD.LinkAlt        = &quot;&quot;;
objAD.Priority       = 1;
objAD.CountView      = 0;
objAD.CountClick     = 0;
objAD.InstallDir     = &quot;/&quot;;
objAD.ADDIR          = &quot;AD&quot;;
ZoneAD_3.AddAD(objAD);

ZoneAD_3.Show();




欢迎光临 广告联盟网 (https://ggads.com/) Powered by Discuz! X3.2