本文介绍了Google CDN未从Google网站加载/提供jQuery-ui库“insert html box”工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力使用Google网站的插入HTML框工具将CDN服务jQuery用户界面库 - jQueryUI - 没有任何成功。

我已经使用了下面的代码及其变体,但没有任何主题,但无济于事;

 < link rel =stylesheethref =http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/主题/碱/ jquery的-ui.css/> 
< script type =text / javascriptsrc =http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js>< / script>
< script src =https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.jstype =text / javascript>< /脚本>

jQuery库加载正常,但不是jQueryUI库。 Google开发人员网站建议这样做,但我只会收到错误消息 - 无法加载外部网址jquery-ui.css或将元素内容叠加到父级中。

我做错了什么? 解决方案 ,你可以跟踪。在它被标记为固定在该跟踪器上后,它将在一两周内在站点中得到修复。


I am struggling with the Google sites "insert html box" tool to get the CDN to serve the jQuery user interface library — jQueryUI — without any success.

I have used the following code and its variants without any themes but to no avail;

<link rel="stylesheet"   href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/base/jquery-ui.css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" type="text/javascript"></script>

The jQuery library loads fine but not the jQueryUI library. The Google developer site suggests that this should work, but I only get error messages — "failed to load external url jquery-ui.css" or "folding element body into parent".

What am I doing wrong?

解决方案

Bug filed here, which you can track. It will get fixed in Sites a week or two after it is marked fixed on that tracker.

这篇关于Google CDN未从Google网站加载/提供jQuery-ui库“insert html box”工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 16:17
查看更多