jQuery Galleria 'fatal error: no theme found.' in IE

限于喜欢 提交于 2019-12-08 06:11:25

问题


Galleria v 1.2 works fine in FF, SF and Chrome, but it raises this message in all IEs "fatal error: no theme found." Anybody seen it before?


回答1:


I have, and a solution that works is to place a link to that theme in the page, i.e.:

<script src="path/to/your/theme.js"></script>

But it will sometimes still throw this error for no apparent reason.




回答2:


Just a note. A lot of the times you get the error message without there being any errors. I find that hiding the error with some CSS to be helpful:

 <style>
  .galleria-errors
  {
      visibility:hidden;
      display:none;
  }
</style>



回答3:


all you have to do is just set debug to false;

http://galleria.io/docs/options/debug/




回答4:


Change the Galleria debug setting true to false.

<script type="text/javascript">
    Galleria.loadTheme("http://www.luberonexperience.com/galleria/themes/folio/galleria.folio.min.js");
    jQuery.noConflict(); jQuery(document).ready(function() {
        jQuery("#flickr_bonnieux_976").data("options",{"autoplay":5000,"transition":"fade","transitionSpeed":0,"showInfo":true,"imageCrop":true,"carousel":true,"debug":false});
        slickr_flickr_start();
    });
</script>


来源:https://stackoverflow.com/questions/4934417/jquery-galleria-fatal-error-no-theme-found-in-ie

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!