【发布时间】:2010-06-24 02:01:32
【问题描述】:
我们都想让我们的网站更快,谷歌在这里展示了一些示例:http://code.google.com/speed/articles/html5-performance.html
我们使用 OpenX 来投放广告,所以,假设浏览器支持 (FF3.6+),我想我们可以从以下位置修改 OpenX 广告代码:
<script type='text/javascript'> ... ad codes </script>
进入
<script type='text/javascript' async> ... ad codes </script>
这样可以吗?有没有更好的异步加载脚本的方法?
【问题讨论】:
-
如果你已经被困在这一点上。我在这里写了一个包装器。 http://stackoverflow.com/questions/18955887/ajaxloading-openx-with-jquery-and-php
标签: javascript asynchronous openx