-1

I've tried to create some vertical scrolling using SimplyScroll on this website, but the images are ending up as a list.

Does somebody know why?

4

1 回答 1

0

1 - 向我们展示一些代码。不要让我们去找它。

2 - 使用您的 F12 控制台。这行得通

您正在尝试通过 HTTP 加载 jQuery。您正在通过 HTTPS 加载您的网站。

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>

应该

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>

从属性中省略模式src将使浏览器通过适当的模式加载它 - http 或 https,具体取决于加载其他内容的方式。您应该对图像和脚本执行相同的操作。

混合内容:“ https://portal.gbnett.no/filarkiv/testing.html ”页面通过 HTTPS 加载,但请求了不安全的脚本“ http://ajax.googleapis.com/ajax/libs/jquery/ 1.8/jquery.min.js '。此请求已被阻止;内容必须通过 HTTPS 提供。

于 2016-01-05T17:28:56.890 回答