<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

DEDECMS让广告延时加载,提高网页打开速度

时间:2020-12-09

DEDECMS让广告延时加载,提高网页打开速度,延迟默认的第一个广告为例。

1、在你要放置广告的地方加入以下代码,中间的文字可以修改成自己的词语、代码或者图像等。

1 <span id="topbanner">精彩内容读取中……</span>

2、在前面加入以下代码

1 <span id="ad_topbanner" style="display: none"><script src='http://www.zztuku.com/plus/ad_js.php?aid=1' language='javascript'></script></span>

3、到页面最下面之后加入以下代码

1 <script type="text/javascript"> var ad=document.getElementById("topbanner");var span=document.getElementById("ad_topbanner");ad.innerHTML=span.innerHTML; span.innerHTML=""; </script>

4、更新网站html,现在网站主要内容打开后才开始加载广告了。

 

0
首页
案例
关于
联系