简体   繁体   English

将幻灯片添加到幻灯片的开头

[英]Adding slides to beginning of slideshow

Does anyone know a jQuery slider that has solid callback support, and can allow me to add a slide to the beginning of a slideshow while a user is on the page without disrupting the slide the user is on? 有谁知道jQuery滑块具有可靠的回调支持,并且可以允许我在用户位于页面上时将幻灯片添加到幻灯片的开头,而不会破坏用户所在的幻灯片? wootheme's flexslider has addSlide() but it handles this very poorly if you try to add something to the beginning (position 0) Swiper http://www.idangero.us/sliders/swiper/ has a prepend() function, but as you can see in their demo, whenever you prepend it jumps the current slide to the one before. wootheme的flexslider具有addSlide(),但是如果您尝试在开头(位置0)添加一些内容,它的处理效果会很差。Swiper http://www.idangero.us/sliders/swiper/具有prepend()函数,但是随着您可以在他们的演示中看到,只要您添加它,便会将当前幻灯片跳到之前的幻灯片。

I need to add content to the beginning of a slider with touch functionality like these two, but I need that to be invisibly added without messing up or jumping around the current slider position. 我需要将内容添加到具有这两种触摸功能的滑块的开头,但是我需要在不弄乱当前滑块位置的情况下无形地添加内容。 Can anyone suggest one that they like? 谁能推荐一个他们喜欢的东西? Obviously I prefer one that is free and allows me to use multiple places like a Creative Commons license. 显然,我更喜欢一个免费的软件,它允许我在多个地方使用,例如知识共享许可。

For slideshows, I really recommend jQuery cycle plugin. 对于幻灯片,我真的推荐jQuery循环插件。

http://jquery.malsup.com/cycle/ http://jquery.malsup.com/cycle/

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

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