Jquery Galleria 初始加载问题
我已经使用全屏主题设置了画廊。我遇到这个问题,它在第一次加载画廊时显示空白屏幕。当我重新加载页面时,页面可以正常工作,但仅在重新加载时有效,而不是在初始加载时有效。
有谁知道为什么会发生这种情况?任何帮助将不胜感激,因为这是迫切需要的。
完整代码可以在这里查看 http://dev.perfectdaycanada.com/fullscreen-galleria/
再次感谢。
I have set up galleria using full screen theme. I am having this problem that it displays a Blank Screen on the first time the galleria is loaded. When I reload the page is works but only when reloaded not on the initial load.
Does anyone know why this might be happening? Any help would be much appreciated as this is needed urgently.
Full code can be viewed here
http://dev.perfectdaycanada.com/fullscreen-galleria/
Thanks Again.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这段代码看起来很可疑:
但是,我认为这是您的“修复”。您在源代码中加载了很多资源,我建议您尝试使用 script 标签加载主题 JS,并使用 head 中的链接标签加载主题 CSS。或者您可以尝试 github 上的最新版本,其中主题加载超时已增加。
This code looks suspicious:
However, I take it that this is your "fix". You have a lot of assets loading in the source, I would suggest that you try loading the theme JS using a script tag and the theme CSS using a link tag in your head. Or you could try the latest build at github, where a theme loading timeout has increased.