我們都希望使我們的網站更快,谷歌顯示的幾個樣本這裏:http://code.google.com/speed/articles/html5-performance.htmlOpenX的異步代碼
我們使用的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](http://stackoverflow.com/questions/18955887/ajaxloading-openx-with-jquery-and-php「 http://stackoverflow.com/questions/18955887/ajaxloading-openx-with-jquery-and-php「) – mxsteini 2013-11-12 13:57:26