简体   繁体   English

Galleria滑块从左到右从上到下

[英]Galleria slider from left—right to top—bottom

I'm tryin to implement the galleria.js (slideshow) on my website. 我正在尝试在我的网站上实现galleria.js(幻灯片)。 All I want is to have the slides entering from the top of the screen and going out from the bottom, instead of the classic right—left. 我想要的只是让幻灯片从屏幕顶部进入,然后从底部伸出,而不是经典的左右。

I've tried to rotate the images 90% and it kinds of work but I'm sure there's an easier more correct way. 我已经尝试将图像旋转90%,并且可以完成一些工作,但是我敢肯定有一种更简单,更正确的方法。

Thanks. 谢谢。

The isn't any way to do it through the options. 通过选项没有任何办法。 here are a list of configurables from the galleria.js site 这是galleria.js网站上的可配置列表

The only way would be to use extend and create a plugin to do what you need: 唯一的方法是使用extend并创建插件来执行您需要的操作:

Galleria.run('.galleria', {
    extend: function() {
        // Custom code/functionality goes here
    }
});

You can then distribute this to anyone else who needs the same functionality. 然后,您可以将其分发给需要相同功能的其他任何人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM