CMS与弹出框冲突

时间:2015-08-26 01:56:06

标签: jquery

我想在我上传的此文件的“查看完整菜单”链接中加入弹出框:http://fmsc.org/file/index.html

但是,当我将其上传到我们的CMS时,显然存在冲突/覆盖并且不起作用:https://fmsc.org/15-mn-gala-pre-gala-content-test

非常感谢任何帮助。

1 个答案:

答案 0 :(得分:0)

Chrome网络检查员报告以下错误

Mixed Content: The page at 'https://fmsc.org/15-mn-gala-pre-gala-content-test' was loaded over HTTPS, but requested an insecure script 'http://www.fmsc.org/file/classie.js'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://fmsc.org/15-mn-gala-pre-gala-content-test' was loaded over HTTPS, but requested an insecure script 'http://www.fmsc.org/file/modalEffects.js'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://fmsc.org/15-mn-gala-pre-gala-content-test' was loaded over HTTPS, but requested an insecure script 'http://www.fmsc.org/file/modernizr.custom.js'. This request has been blocked; the content must be served over HTTPS.

意味着您尝试在 https 上投放的网页上加载 http 资源,解决此问题的一种方法是使用相对路径使用/file/modernizr.custom.js代替http://www.fmsc.org/file/modernizr.custom.js(例如)

到服务器根目录