Advertising | load | speed | Web site Some webmaster may have experience. Do some affiliate commercials. Due to the slow loading of the Affiliate ads, the overall page display speed has been severely affected. So I posted the following code.
The first step: put this code in the page where you want to put the ad:
<span id=ad_01> AD Load ...</span>
Step two: Put this code on the bottom of the page:
<span Class=spanclass id=span_ad_01>
Here to put the Ads JS code or other slow loading of content can be.
</SPAN>
<script>ad_01.innerhtml=span_ad_01.innerhtml;span_ad_01.innerhtml= "";</script>
The principle of this code is that because the page is executed from the top down code.
So the "ad load ..." is temporarily displayed.
Wait until the entire page is executed before it is called. So we put the code of the ad to the last execution let the previous call, will not affect the site page normal content output speed.
Note: You can add more than one call, modify the "id=ad_01" corresponding to a few on it.