内容未通过SSL加载
I have a banner in which the HTML is loaded into my file via:
<?php require("banner.php"); ?>
When I attempt to load my page via SSL (https://vantagewebservices.com/) the banner does not load. Chrome and FF are warning me that some of my scripts are not being loaded over SSL. However, the links in the HTML are all dynamic in the way that they are link via the root of my website and not by the domain. The banner.html file that is loaded into my index page can be found here: vantagewebservices.com/banner.html. If you can help me resolve this issue I would greatly appreciate it.
我有一个横幅,其中HTML通过以下方式加载到我的文件中: p>
当我尝试通过SSL加载我的页面时( https://vantagewebservices.com/ )横幅无法加载。 Chrome和FF警告我,我的一些脚本没有通过SSL加载。 但是,HTML中的链接都是动态的,它们通过我的网站的根链接而不是通过域链接。 可以在此处找到加载到我的索引页面的banner.html文件:vantagewebservices.com/banner.html。 如果你能帮我解决这个问题,我将不胜感激。 p>
div>&lt;?php require(“banner.php”); ?&gt;
code> pre>
Some of your scripts are not loading via https
, change the following lines to be protocol relative as mentioned by @Ennui below.
<link href='//fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
The main problem is that JQuery was not loading which your banner is dependent on.