开发者

Galleria not loading on initial page visit [duplicate]

开发者 https://www.devze.com 2023-02-13 01:31 出处:网络
This question already has answers here: jQuery Galleria 'fatal error: no t开发者_Go百科heme found.' in IE
This question already has answers here: jQuery Galleria 'fatal error: no t开发者_Go百科heme found.' in IE (4 answers) Closed 2 years ago.

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?

here is the site

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.


I was seeing the exact same behavior. What fixed it for me was loading the css theme in the html head:

<link rel="stylesheet" type="text/css" href="galleria/themes/classic/galleria.classic.css"> 
0

精彩评论

暂无评论...
验证码 换一张
取 消