我正在尝试安装此处找到的 jquery 幻灯片“galleria”:Galleria 网站 - 如何安装它(脚本)
我已经在我的网站的“头部”中调用了 jquery 库,如下所示:<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
</script>
对于slidetoogle 效果。我是否必须再为“Galleria”幻灯片重新发布这行代码一次,或者一次就足够了这些插件和所有未来的?
这是我用于第二次调用 jquery 库的“galleria”的脚本,但这次是 1.4.4:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js">
</script><script src="http://xxx.com/file/xxx/galleria-1.2.2.min.js"></script>
在我的身体里:<div id="gallery">
<img src="http://xxx/file/xxx/80.jpg">
<img src="http://xxx/file/xxx/81.jpg">
<img src="http://xxx/file/xxx/82.jpg">
</div>
<script>
Galleria.loadTheme('galleria/themes/classic/galleria.classic.min.js');
$("#gallery").galleria({
width: 500,
height: 500
});
</script>
什么都没有出现。