【问题标题】:HTTPS-friendly jQuery CSS theme from Google CDN来自 Google CDN 的 HTTPS 友好的 jQuery CSS 主题
【发布时间】:2012-06-08 20:35:46
【问题描述】:

【问题讨论】:

  • 不要在标题中使用全大写。

标签: jquery css jquery-ui https google-cdn


【解决方案1】:

不能对此做任何事情。因为来自 https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.cssjquery-ui.css 在内部仅使用带有http://...图像

试试protocol-relative URLsection 4.2 of RFC 3986):

<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"  
type="text/javascript"></script> 

【讨论】:

  • -1 下次看看代码。从您提供的链接加载的所有图像都是相对的。根据定义,它们不指定 http:// 路径。
  • @bpeterson76 我看过了,relative 链接表示“相对文件夹层次结构”,而不是相同的连接类型。
  • 这就是链接本身的意思。
猜你喜欢
  • 2011-06-05
  • 2013-05-28
  • 2014-07-14
  • 2011-05-05
  • 2010-10-23
  • 2011-07-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多