1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

不影响网页整体打开速度的广告代码.

本帖由 iwish2007-08-29 发布。版面名称:前端开发

  1. iwish

    iwish Member

    注册:
    2006-05-20
    帖子:
    375
    赞:
    1
    代码:
    <span id="google1">广告载入中</span>
    代码:
    
    <span id="span_google1">
    		<script type="text/javascript"><!--
    google_ad_client = "河蟹";
    google_ad_output = "textlink";
    google_ad_format = "ref_text";
    google_cpa_choice = "CAAQyam1_wEaCDco8PXFlDjWKJ2R4YcBMAA";
    //-->
    </script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    	</span>
    	<script type="text/javascript">
    	var google1 = "";
    	var span_google1 = "";
    	document.getElementById("google1").innerHTML=document.getElementById("span_google1").innerHTML;
    	document.getElementById("span_google1").innerHTML = "";
    	</script>
    
    
     
  2. iwish

    iwish Member

    注册:
    2006-05-20
    帖子:
    375
    赞:
    1
    请问一下.除了这个方式.还有没有其他的方式?
    好像163 的又是另一种方法..
     
  3. iwish

    iwish Member

    注册:
    2006-05-20
    帖子:
    375
    赞:
    1
    .............
     
  4. sojay

    sojay New Member

    注册:
    2005-12-19
    帖子:
    3,036
    赞:
    13
    pub-562562987646545

    真是找K...
     
  5. 平行线

    平行线 New Member

    注册:
    2005-10-29
    帖子:
    9,943
    赞:
    63
    楼主,这是CH的代码。你发干嘛?
     
  6. hjb1

    hjb1 Active Member

    注册:
    2005-09-04
    帖子:
    1,623
    赞:
    5
    给大家刷~ 哈哈~
     
  7. feemoo888

    feemoo888 New Member

    注册:
    2005-12-18
    帖子:
    48
    赞:
    0
    灭了它

    o(∩_∩)o...

     
  8. lane

    lane New Member

    注册:
    2005-09-05
    帖子:
    6,548
    赞:
    29
    我是拷沙滩的~
     
  9. Kevin

    Kevin New Member

    注册:
    2005-10-23
    帖子:
    12,728
    赞:
    55
    汗~~~~~~~~
     
  10. iwish

    iwish Member

    注册:
    2006-05-20
    帖子:
    375
    赞:
    1
    晕..只是想问一下..还有没有其他方法投放广告..而不影响整体打开的速度..
     
  11. eftax

    eftax New Member

    注册:
    2007-07-24
    帖子:
    33
    赞:
    0
    你去看看我的。JS调的,比这个简洁!!

    赫赫
     
  12. iwish

    iwish Member

    注册:
    2006-05-20
    帖子:
    375
    赞:
    1
    是放在/html后面的..

    dz的那种是怎么实现的呢..

    要他显就显..不让他显就不让他显...
     
  13. 西子宜

    西子宜 Well-Known Member

    注册:
    2005-09-05
    帖子:
    15,739
    赞:
    62