我在控制台中收到这些警告,但我的脚本无法正常工作
阻止加载混合活动内容”http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"
这是屏幕截图:
我该如何解决这些警告?
我的脚本:
<script type="text/javascript" src="http://malsup.github.io/jquery.blockUI.js"> </script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
使用此代码包含您的 cdn 文件:在您的 url 中使用 https 协议:
<link rel="stylesheet" href="https://code.jquery.com/ui/1.8.10/themes/smoothness/jquery-ui.css" type="text/css">
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/jquery-ui.min.js"></script>
或者这个模式:
<link rel="stylesheet" href="//code.jquery.com/ui/1.8.10/themes/smoothness/jquery-ui.css" type="text/css">
<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/jquery-ui.min.js"></script>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)