2
如果Google Go失败,我使用的是回退并在本地投放jquery,跟随this thread。如果CDN失败,jquery-tools fallback
如果CDN版本失败,有没有人有建议如何回退本地jquerytools?在Flowplayer论坛中有类似的technique for Flowplayer讨论,但我还没有想出如何为jquerytools做到这一点。
感谢您的任何提示。
如果Google Go失败,我使用的是回退并在本地投放jquery,跟随this thread。如果CDN失败,jquery-tools fallback
如果CDN版本失败,有没有人有建议如何回退本地jquerytools?在Flowplayer论坛中有类似的technique for Flowplayer讨论,但我还没有想出如何为jquerytools做到这一点。
感谢您的任何提示。
您可以使用flashembed对象从jQuery的工具,就像这样:
<script src="http://cdn.jquerytools.org/1.2.7/all/jquery.tools.min.js"></script>
<script>window.flashembed || document.write('<script src="js/jquery.tools.min.js"><\/script>')</script>