开发者

jQuery Galleria Thumbnail not displaying

开发者 https://www.devze.com 2023-01-14 04:00 出处:网络
I had set up Galleria Plugin successfully. But the problem is that the thumbnails f开发者_JAVA百科or each picture is not generating. My code is below

I had set up Galleria Plugin successfully. But the problem is that the thumbnails f开发者_JAVA百科or each picture is not generating. My code is below

<div id="galleria">
        <img title="Image title" src="images/1.jpg">
        <img title="Image title" src="images/2.jpg">
        <img title="Image title" src="images/3.jpg">
        <img title="Image title" src="images/4.jpg">
        <img title="Image title" src="images/5.jpg">
        <img title="Image title" src="images/6.jpg">
        <img title="Image title" src="images/7.jpg">
        <img title="Image title" src="images/8.jpg">
        <img title="Image title" src="images/9.jpg">
        <img title="Image title" src="images/10.jpg">
</div>

jQuery:

<script>
     Galleria.loadTheme('js/galleria.classic.js');
     $('#galleria').galleria();
</script>

What can I try next?


Never used the script, but what i advise is:

  • check your jQuery framework file path
  • check your image paths, try using exact paths not relative
  • set script tag with type="text/javascript" attribute

Good luck


Actually, i changed the display:none for the slideshow window to visibility:hidden and its working!. thanks for all who answered

0

精彩评论

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