初始页面访问未加载回廊 [英] Galleria not loading on initial page visit

查看:113
本文介绍了初始页面访问未加载回廊的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Galleria插件用于我要建立的网站,并且在我在其他人的计算机上对其进行测试之前,它都可以正常工作.

I'm using the Galleria plug-in for a website I'm setting up, and it was working flawlessly until I tested it on someone else's computer.

在最初访问该站点的访问者中,幻灯片放映根本不会加载,但是在重新加载页面后它将显示.在构建网站时,我从未遇到过任何问题,但是当我清除缓存和数据并访问该网站时,我遇到了同样的问题.

On a visitors initial visit to the site, the slideshow will not load at all, but after reloading the page it will appear. I never had a problem with it while I was building the site, but when I cleared my cache and data and visited the site, I ran into the same problem.

那么这是怎么回事?有一个简单的解决方法吗? 有没有一种方法可以在初次访问时强制重新加载页面?

So whats going on here? Is there a simple fix? Is there a way to just force a page reload upon the initial visit?

这是网站

在主页上,第一次访问(以前没有来自该站点的缓存/数据/cookie)始终加载,而没有播放Galleria插件幻灯片.但是,重新加载一次后,它的运行效果非常好. 感谢您的帮助.

On the home page, the first visit (no cache/data/cookies from the site previously) consistently loads without the Galleria plug-in slideshow playing. But after one reload, it works beautifully. Any help is appreciated.

不要批评太多,这是我创建的第一个站点,并且主要是通过将其他人的代码粘贴在一起而制成的.

Don't criticize too much, this is the first site I've made, and it was mostly made through sticking other people's code together.

推荐答案

第一次访问该页面时,出现了JavaScript错误(使用safari网络检查器):错误:致命错误:未找到主题./galleria/src/galleria .js:3710",如下所述: jQuery Galleria的致命错误:找不到主题.在IE中

There's a javascript error (using safari web inspector) the first time the page is visited "Error: Fatal error: No theme found./galleria/src/galleria.js:3710" as mentioned here: jQuery Galleria 'fatal error: no theme found.' in IE

我会先消除该错误,然后看看它是否仍会发生?

I would eliminate that error first and see if it still happens?

这篇关于初始页面访问未加载回廊的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆